chore: improve docs
parent
c6d237d564
commit
96d2641850
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue