chore: improve docs

pull/5949/head
Pavel Zavora 2022-06-21 14:39:15 +02:00
parent c6d237d564
commit 96d2641850
1 changed files with 1 additions and 1 deletions

View File

@ -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 {