Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JoinURL ¶
JoinURL updates the path part of the request url.
JoinURL("google.com", "admin") => "google.com/admin" JoinURL("google.com?q=keyword", "admin") => "google.com/admin?q=keyword"
func MustJoinURL ¶
func PatchURL ¶
PatchURL updates the query part of the request url.
PatchURL("google.com","key","value") => "google.com?key=value" PatchURL("google.com?key=value","key","value") => "google.com" PatchURL("google.com", "~a[]","b") => "google.com?a[]=b" PatchURL("google.com?a[]=b","~a[]","c") => "google.com?a[]=b&a[]=c" PatchURL("google.com?a[]=b&a[]=c","~a[]","c") => "google.com?a[]=b"
Types ¶
Click to show internal directories.
Click to hide internal directories.