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函数,支持io.Writer接口 #63

Closed
guonaihong opened this issue Oct 7, 2019 · 0 comments
Closed

增强BindBody函数,支持io.Writer接口 #63

guonaihong opened this issue Oct 7, 2019 · 0 comments

Comments

@guonaihong
Copy link
Owner

伪代码如下

b := bytes.Buffer{}
gout.GET("http://xxx.xxx.xxx.xxx:port").BindBody(&b).Do()
@guonaihong guonaihong changed the title 振强BindBody函数,支持io.Writer接口 增强BindBody函数,支持io.Writer接口 Oct 7, 2019
guonaihong added a commit that referenced this issue Oct 8, 2019
请看 #63, #62
SetBody支持io.Reader
BindBody支持io.Writer
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