From 74fbafcbf1179eb36a92d93944d56613ad7abe5e Mon Sep 17 00:00:00 2001 From: Erick Sosa Date: Tue, 22 Sep 2020 13:19:35 -0400 Subject: [PATCH] fix: short variable declaration error should be `:=` instead of `=` --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7d54deb4..1f30e0ba 100644 --- a/README.md +++ b/README.md @@ -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) }