Versions in this module Expand all Collapse all v0 v0.5.0 Jan 23, 2020 Changes in this version type Remotes + func (r Remotes) Len() int + func (r Remotes) Less(i, j int) bool + func (r Remotes) Swap(i, j int) v0.4.0 Jan 14, 2020 Changes in this version + func ConfigDir() string + func NewBlank() *blankContext + func ParseDefaultConfig() (*configEntry, error) + type Context interface + AuthLogin func() (string, error) + AuthToken func() (string, error) + BaseRepo func() (GitHubRepository, error) + Branch func() (string, error) + Remotes func() (Remotes, error) + SetAuthToken func(string) + SetBaseRepo func(string) + SetBranch func(string) + func New() Context + type GitHubRepository interface + RepoName func() string + RepoOwner func() string + func RepoFromURL(u *url.URL) (GitHubRepository, error) + type Remote struct + Owner string + Repo string + func (r Remote) RepoName() string + func (r Remote) RepoOwner() string + type Remotes []*Remote + func (r Remotes) FindByName(names ...string) (*Remote, error) + func (r Remotes) FindByRepo(owner, name string) (*Remote, error)