url

package
v0.19.4 Latest Latest
Warning

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

Go to latest
Published: May 24, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrWrongURLFormat

type ErrWrongURLFormat struct {
	URL string
}

ErrWrongURLFormat represents an error with wrong url format

func (ErrWrongURLFormat) Error

func (err ErrWrongURLFormat) Error() string

type GitURL

type GitURL struct {
	*stdurl.URL
	// contains filtered or unexported fields
}

GitURL represents a git URL

func Parse

func Parse(remote string) (*GitURL, error)

Parse parse all kinds of git URL

func (*GitURL) String

func (u *GitURL) String() string

String returns the URL's string

Jump to

Keyboard shortcuts

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