urlutil

package
v1.5.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2015 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsGitTransport

func IsGitTransport(str string) bool

IsGitTransport returns true if the provided str is a git transport by inspecting the prefix of the string for known protocols used in git.

func IsGitURL

func IsGitURL(str string) bool

IsGitURL returns true if the provided str is a git repository URL.

func IsURL

func IsURL(str string) bool

IsURL returns true if the provided str is a valid URL by doing a simple change for the transport of the url.

Types

This section is empty.

Jump to

Keyboard shortcuts

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