net/url package
Canonical docs for URL parsing, query parameter encoding, path escaping, and URL value handling.
Canonical docs for URL parsing, query parameter encoding, path escaping, and URL value handling.
- Author: Go Team
- Authority: primary
- Kind: package-doc
- URL: https://pkg.go.dev/net/url
What it covers
- URL parsing
- query parameter access and encoding
- escaping and normalization behavior
Why authoritative
Official package documentation for Go’s URL parsing and query-string APIs.
Use when
- how should I parse query parameters in Go
- how does url.Values work
- how should I encode query strings in Go
Keywords
- net/url, query parameters, url.Values, URL parsing, escaping