JSON to Go Struct
{ "code": 200, "data": ["imgtool.net", "Online JSON Formatter"], "msg": "ok" }
type AutoGenerated struct {
Code int `json:"code"`
Data []string `json:"data"`
Msg string `json:"msg"`
}
{ "code": 200, "data": ["imgtool.net", "Online JSON Formatter"], "msg": "ok" }
type AutoGenerated struct {
Code int `json:"code"`
Data []string `json:"data"`
Msg string `json:"msg"`
}