summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/monaco-io/request/url.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/monaco-io/request/url.go')
-rw-r--r--vendor/github.com/monaco-io/request/url.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/github.com/monaco-io/request/url.go b/vendor/github.com/monaco-io/request/url.go
index 98526149..b49b713e 100644
--- a/vendor/github.com/monaco-io/request/url.go
+++ b/vendor/github.com/monaco-io/request/url.go
@@ -12,14 +12,14 @@ type requestURL struct {
func (ru *requestURL) EncodeURL() (err error) {
ru.httpURL, err = url.Parse(ru.urlString)
if err != nil {
- return err
+ return
}
query := ru.httpURL.Query()
for k := range ru.parameters {
query.Set(k, ru.parameters[k])
}
ru.httpURL.RawQuery = query.Encode()
- return err
+ return
}
// String return example: https://www.google.com/search?a=1&b=2