url

package
v2.53.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 5, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EscapeQuery

func EscapeQuery(v []byte) []byte

EscapeQuery escapes query parameters so they can be encoded into the URL without conflicting with special characters like "&"

func EscapeQueryString

func EscapeQueryString(v string) string

EscapeQuery escapes query parameters so they can be encoded into the URL without conflicting with special characters like "&"

func EscapeQueryStringStrict added in v2.53.0

func EscapeQueryStringStrict(v string) string

func IsURLEncoded added in v2.53.0

func IsURLEncoded(v string) bool

func ParseURL added in v2.34.0

func ParseURL(value string) (*url.URL, error)

func PathEscape added in v2.53.0

func PathEscape(v string) string

func PathEscapePreserveQueryParameters added in v2.53.0

func PathEscapePreserveQueryParameters(v string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL