Help us shape the future of Go! Take the 2026 Go Developer Survey

xurl

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type URL

type URL struct {
	*url.URL
}

func MustParsef

func MustParsef(format string, args ...any) (result URL)

func (URL) Clone

func (u URL) Clone() URL

func (URL) Equal

func (u URL) Equal(other URL) bool

func (URL) MarshalText

func (u URL) MarshalText() ([]byte, error)

func (*URL) UnmarshalText

func (u *URL) UnmarshalText(text []byte) (err error)

UnmarshalText validates and canonicalizes the URL as well.

Jump to

Keyboard shortcuts

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