支持Bind多个对象
Asterism12 opened this issue · 2 comments
Asterism12 commented
var responseStruct struct {
Name string `json:"name"`
Age int `json:"age"`
}
var responseStr string
gout.GET("url").
SetQuery(gout.H{}).
BindJSON(&responseStruct).
BindBody(&responseStr).
Do()
log.Println(responseStr)
// do something with responseStruct ...
guonaihong commented
可以.我想想怎么实现...
guonaihong commented
用下v0.3.0版本。这个issue先关闭了。。。有问题可再打开。