package
module
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Mar 5, 2024
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
go-isgiturl
It is what it says on the tin.
A URI validator for git urls.
Documentation
¶
func FindScpLikeComponents(url string) (user, host, port, path string)
FindScpLikeComponents returns the user, host, port and path of the
given SCP-like URL.
IsGitUrl returns true if the given URL string specifies a git repository.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.