Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
imroc committed Feb 7, 2018
1 parent 2a9647f commit b02e5d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/README_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func (r *Req) Post(url string, v ...interface{}) (*Resp, error)

大多情况下,发起请求只有url是必选参数,其它都可选,比如请求头、请求参数、文件或请求体等。

包中含一个默认的 `Req` 对象, 它所有的公有方法都被`req`包对应的公有方法包装了,所以大多数情况下,你直接可以吧`req`包看作一个`Req`对象来使用。
包中含一个默认的 `Req` 对象, 它所有的公有方法都被`req`包对应的公有方法包装了,所以大多数情况下,你直接可以把`req`包看作一个`Req`对象来使用。
``` go
// 创建Req对象来发起请求
r := req.New()
Expand Down

0 comments on commit b02e5d1

Please sign in to comment.