url

package
v0.0.0-...-495e01f Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2023 License: Apache-2.0 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