urlz

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2022 License: MIT Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustParse

func MustParse(rawURL string) *url.URL

MustParse is like url.Parse but panics on error.

func MustUpdate added in v1.1.0

func MustUpdate(rawURL string, f func(*url.URL)) string

MustUpdate parses the given URL, calls f to allow mutations, and then converts the URL back to string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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