gos

package module
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2020 License: MIT Imports: 5 Imported by: 14

README

gos

Maintenance open issues closed issues License Author

Installation

gos requires go1.14+ to install successfully. Run the following command to get this repository

$ go get github.com/drsigned/gos

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasStdin

func HasStdin() bool

HasStdin is a

func StripANSI added in v1.2.0

func StripANSI(str string) string

StripANSI is a

Types

type URL

type URL struct {
	*url.URL
	TLD, ETLDPlus1, DomainName, BaseDomainName, SubDomainName, Port string
}

URL embeds net/url and adds extra fields ontop

func ParseURL

func ParseURL(rawURL string) (*URL, error)

ParseURL mirrors net/url.Parse except instead it returns a tld.URL, which contains extra fields.

Jump to

Keyboard shortcuts

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