google-it icon indicating copy to clipboard operation
google-it copied to clipboard

Cleanup Url Use

Open dwmkerr opened this issue 8 years ago • 1 comments

Look into:

http://www.dwmkerr.com/is-it-worth-persevering-with-golang/#comment-2707767852

url.Parse and values.Set

dwmkerr avatar Jun 03 '16 02:06 dwmkerr

Here's the relevant documentation for url.Parse:

https://godoc.org/net/url#Parse

And (url.Values) Set:

https://godoc.org/net/url#Values.Set

There are examples that are provided by the net/url package showing some common use cases, and you can find examples of how people use url.Parse in the wild across open source repositories here.

dmitshur avatar Jun 03 '16 04:06 dmitshur