func AppendPaths(u *url.URL, paths ...string) (ep *url.URL)
AppendPaths appends the provided paths to the url.
func Copy(u *url.URL) *url.URL
Copy creates returns a copy of the provided url.URL pointer.
func SetQuery(u *url.URL, query url.Values) (ep *url.URL)
SetQuery appends the provided url values to the URL's query string.