Skip to content

Commit

Permalink
Merge pull request imroc#61 from buttercubz/patch-1
Browse files Browse the repository at this point in the history
fix: short variable declaration error
  • Loading branch information
imroc authored Sep 25, 2020
2 parents d679d25 + 74fbafc commit 900b1a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ param := req.Param{
"cmd": "add",
}
// only url is required, others are optional.
r, err = req.Post("http://foo.bar/api", header, param)
r, err := req.Post("http://foo.bar/api", header, param)
if err != nil {
log.Fatal(err)
}
Expand Down

0 comments on commit 900b1a7

Please sign in to comment.