Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

新增BindBody函数 #31

Closed
guonaihong opened this issue Aug 27, 2019 · 0 comments
Closed

新增BindBody函数 #31

guonaihong opened this issue Aug 27, 2019 · 0 comments

Comments

@guonaihong
Copy link
Owner

guonaihong commented Aug 27, 2019

伪代码如下

g := gout.New(nil)
g.GET(url).BindBody(/*看下面*/)

支持的类型有

  • int, int8, int16, int32, int64
  • uint, uint8, uint16, unt32, uint64
  • float32, float64
  • string
  • []byte

明确不支持的类型有

  • struct
  • slice, array
@guonaihong guonaihong changed the title 新增Body函数 新增ShouldBindBody函数 Aug 28, 2019
@guonaihong guonaihong changed the title 新增ShouldBindBody函数 新增BindBody函数 Aug 28, 2019
guonaihong added a commit that referenced this issue Sep 2, 2019
@guonaihong guonaihong mentioned this issue Sep 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant