git

package
v0.1.0-rc5 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Remote

type Remote struct {
	Name string
	URL  *url.URL
}

Remote represents a connection to a remote repository.

type Remotes

type Remotes []Remote

Remotes represents a list of Remote with extra methods.

func (Remotes) Bitbucket

func (list Remotes) Bitbucket() (Remote, bool)

Bitbucket finds a Remote related to the Bitbucket.

The naive implementation to proof of concept.

func (Remotes) GitHub

func (list Remotes) GitHub() (Remote, bool)

GitHub finds a Remote related to the GitHub.

The naive implementation to proof of concept.

func (Remotes) GitLab

func (list Remotes) GitLab() (Remote, bool)

GitLab finds a Remote related to the GitLab.

The naive implementation to proof of concept.

Jump to

Keyboard shortcuts

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