diff --git a/util/path.go b/util/path.go index 27817ad31..35e43597f 100644 --- a/util/path.go +++ b/util/path.go @@ -4,7 +4,7 @@ import ( "net/url" ) -// AppendPath appends path to the supplied URL and returns a new URL instance. +// AppendPath returns a new URL that appends path to the supplied URL func AppendPath(url *url.URL, path string) *url.URL { retVal := *url if len(path) == 0 {