urlutil

package
v0.0.0-...-2658d01 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloneURL

func CloneURL(u *url.URL) *url.URL

func NormalizeURL

func NormalizeURL(u *url.URL) (*url.URL, error)

NormalizeURL normalizes URL u in such manner: - all components should be represented in ASCII - precent encoding in upper case https://datatracker.ietf.org/doc/html/rfc3986#section-6

Types

This section is empty.

Jump to

Keyboard shortcuts

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