url

package
v0.0.0-...-e707d1a Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2018 License: Apache-2.0 Imports: 1 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 gUrl.URL

URL wraps around the native golang URL struct to allow for custom methods

func Parse

func Parse(s string) (u URL, err error)

Parse decodes a URL string. Returns error if string is not a legal

func (URL) SetParam

func (u URL) SetParam(key string, val string) URL

SetParam returns a new URL with the given param created or modified if already exists

func (URL) String

func (u URL) String() string

String encodes all URL segments to a fully qualified URL string

Jump to

Keyboard shortcuts

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