Documentation ¶
Overview ¶
package url contains url utilities beyond what is available in the net/url package
Index ¶
- func GetFloat64(values url.Values, name string) (value float64, err error)
- func GetInt(values url.Values, name string) (value int, err error)
- func GetString(values url.Values, name string) (value string, err error)
- func GetStrings(values url.Values, name string) (value []string, err error)
- type Builder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFloat64 ¶
GetFloat64 extracts the named float64 out of values.
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
Builder uses a builder pattern to create a URL.
func NewBuilder ¶
NewBuilder starts a URL builder from a basic path.
func NewBuilderFromUrl ¶ added in v0.1.1
NewBuilderFromUrl creates a new builder from a URL.
func (*Builder) ClearFragment ¶ added in v0.1.1
ClearFragment removes the fragment from the URL.
func (*Builder) RemoveValue ¶ added in v0.1.1
RemoveValue removes the value from the URL
func (*Builder) SetFragment ¶ added in v0.1.1
SetFragment sets the fragment portion of the URL
Click to show internal directories.
Click to hide internal directories.