Documentation ¶
Index ¶
- func AppendPaths(u *url.URL, paths ...string) (ep *url.URL)
- func Copy(src *url.URL) *url.URL
- func CopyWithQuery(src *url.URL, query url.Values) *url.URL
- func MustJoin(first string, parts ...string) string
- func ParseOrFatal(l logrus.FieldLogger, in string) *url.URL
- func ParseOrPanic(in string) *url.URL
- func ParseRequestURIOrFatal(l logrus.FieldLogger, in string) *url.URL
- func ParseRequestURIOrPanic(in string) *url.URL
- func SetQuery(u *url.URL, query url.Values) (ep *url.URL)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendPaths ¶ added in v0.0.37
AppendPaths appends the provided paths to the url.
func CopyWithQuery ¶ added in v0.0.37
CopyWithQuery returns a copy of the input url with the given query parameters
func ParseOrFatal ¶ added in v0.0.38
func ParseOrFatal(l logrus.FieldLogger, in string) *url.URL
ParseOrFatal parses a url or fatals.
func ParseOrPanic ¶ added in v0.0.38
ParseOrPanic parses a url or panics.
func ParseRequestURIOrFatal ¶ added in v0.0.38
func ParseRequestURIOrFatal(l logrus.FieldLogger, in string) *url.URL
ParseRequestURIOrFatal parses a request uri or fatals.
func ParseRequestURIOrPanic ¶ added in v0.0.38
ParseRequestURIOrPanic parses a request uri or panics.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.