Documentation
¶
Index ¶
- type URL
- func (u *URL) AddQuery(key, value string) *URL
- func (u *URL) AppendPath(elements ...string) *URL
- func (u *URL) EditPath(editFunc func([]string) []string) *URL
- func (u *URL) EditQuery(editFunc func(url.Values) url.Values) *URL
- func (u *URL) MustString() string
- func (u *URL) RemoveQuery(key string) *URL
- func (u *URL) SetFragment(fragment string) *URL
- func (u *URL) SetHost(host string) *URL
- func (u *URL) SetPath(base string, elements ...string) *URL
- func (u *URL) SetQuery(key, value string) *URL
- func (u *URL) SetScheme(scheme string) *URL
- func (u *URL) SetUser(userName string) *URL
- func (u *URL) SetUserWithPassword(userName, password string) *URL
- func (u *URL) String() (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type URL ¶
type URL struct {
// contains filtered or unexported fields
}
func (*URL) AppendPath ¶
func (*URL) MustString ¶
func (*URL) RemoveQuery ¶
func (*URL) SetFragment ¶
func (*URL) SetUserWithPassword ¶
Click to show internal directories.
Click to hide internal directories.