You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package main
|
|
|
|
type response struct {
|
|
Re int `json:"re"`
|
|
Type string `json:"type"`
|
|
Body interface{} `json:"body,omitempty"`
|
|
}
|
|
|
|
func ok(re int) response {
|
|
return response{
|
|
Re: re,
|
|
Type: "ok",
|
|
}
|
|
}
|