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

新增SetMethod #189

Closed
guonaihong opened this issue Mar 10, 2020 · 0 comments
Closed

新增SetMethod #189

guonaihong opened this issue Mar 10, 2020 · 0 comments

Comments

@guonaihong
Copy link
Owner

guonaihong commented Mar 10, 2020

伪代码如下:

gout.New().SetMethod("GET").SetURL("www.qq.com").Do() //这是要新增的两个接口
gout.GET("www.qq.com").Do() //现在的写法

why

如果http method方法通过变量传递过来,提供Method方法会非常爽,可以少写很多代码。

@guonaihong guonaihong changed the title 新增Method和URL接口 新增Method Mar 17, 2020
@guonaihong guonaihong changed the title 新增Method 新增SetMethod Mar 18, 2020
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