parser

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: MIT Imports: 3 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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