parse

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type URLx

type URLx struct {
	URL     string
	Scheme  string
	Project string
	Host    string
	Path    string
}

URLx take a URI or Something Specific to this project and break it into parts

func Parse

func Parse(uri string) (*URLx, error)

Parse parses a URL or the like and returns a URLx pointer or nil if the parser failed to match a string.

func (*URLx) Parse

func (ux *URLx) Parse(url string) error

Parse parses a URL or the link sets its internal attributes.

type URLxIface

type URLxIface interface {
	// Parse parses a URL or the link sets its internal attributes.
	Parse(url string) error
}

URLxIface ...

Jump to

Keyboard shortcuts

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