Versions in this module Expand all Collapse all go1 go1.18.10 Jan 10, 2023 Changes in this version + func PathEscape(s string) string + func PathUnescape(s string) (string, error) + func QueryEscape(s string) string + func QueryUnescape(s string) (string, error) + type Error struct + Err error + Op string + URL string + func (e *Error) Error() string + func (e *Error) Temporary() bool + func (e *Error) Timeout() bool + func (e *Error) Unwrap() error + type EscapeError string + func (e EscapeError) Error() string + type InvalidHostError string + func (e InvalidHostError) Error() string + type URL struct + ForceQuery bool + Fragment string + Host string + Opaque string + Path string + RawFragment string + RawPath string + RawQuery string + Scheme string + User *Userinfo + func Parse(rawURL string) (*URL, error) + func ParseRequestURI(rawURL string) (*URL, error) + func (u *URL) EscapedFragment() string + func (u *URL) EscapedPath() string + func (u *URL) Hostname() string + func (u *URL) IsAbs() bool + func (u *URL) MarshalBinary() (text []byte, err error) + func (u *URL) Parse(ref string) (*URL, error) + func (u *URL) Port() string + func (u *URL) Query() Values + func (u *URL) Redacted() string + func (u *URL) RequestURI() string + func (u *URL) ResolveReference(ref *URL) *URL + func (u *URL) String() string + func (u *URL) UnmarshalBinary(text []byte) error + type Userinfo struct + func User(username string) *Userinfo + func UserPassword(username, password string) *Userinfo + func (u *Userinfo) Password() (string, bool) + func (u *Userinfo) String() string + func (u *Userinfo) Username() string + type Values map[string][]string + func ParseQuery(query string) (Values, error) + func (v Values) Add(key, value string) + func (v Values) Del(key string) + func (v Values) Encode() string + func (v Values) Get(key string) string + func (v Values) Has(key string) bool + func (v Values) Set(key, value string)