parser

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateURL

func CreateURL(domain string) string

CreateURL will take in a valid domain and return the URL

func GetDomain

func GetDomain(validurl string) string

GetDomain takes in a valid URL and returns the domain of the url

func PathFilename

func PathFilename(givenPath string) string

PathFilename returns the file name from a given path

func URLExtension

func URLExtension(URL string) string

URLExtension returns the extension from a given URL, or an empty string

func URLFilename

func URLFilename(filename string) string

URLFilename returns the file name from a given url

func ValidateDomain

func ValidateDomain(domain string) bool

ValidateDomain checks for a valid domain

func ValidateURL

func ValidateURL(url string) bool

ValidateURL checks for a valid url

Types

This section is empty.

Jump to

Keyboard shortcuts

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