Documentation ¶
Index ¶
- Constants
- Variables
- type Config
- type GitHub
- func (gh *GitHub) CiStatus(sha string) (*octokat.Status, error)
- func (gh *GitHub) CreatePullRequest(base, head, title, body string) (string, error)
- func (gh *GitHub) CreatePullRequestForIssue(base, head, issue string) (string, error)
- func (gh *GitHub) ExpandRemoteUrl(owner string, isSSH bool) (url string)
- func (gh *GitHub) ForkRepository(name, owner string, noRemote bool) (newRemote string, err error)
- func (gh *GitHub) PullRequest(id string) (*octokat.PullRequest, error)
- type Project
- type Repo
Constants ¶
View Source
const ( GitHubHost string = "github.com" OAuthAppURL string = "http://owenou.com/gh" )
Variables ¶
View Source
var DefaultFile string
Functions ¶
This section is empty.
Types ¶
type Config ¶
func (*Config) FetchPassword ¶
type GitHub ¶
type GitHub struct { Project *Project // contains filtered or unexported fields }
func (*GitHub) CreatePullRequest ¶
func (*GitHub) CreatePullRequestForIssue ¶
func (*GitHub) ExpandRemoteUrl ¶
func (*GitHub) ForkRepository ¶
func (*GitHub) PullRequest ¶
func (gh *GitHub) PullRequest(id string) (*octokat.PullRequest, error)
type Project ¶
func CurrentProject ¶
func CurrentProject() *Project
func ParseProjectFromURL ¶
func (*Project) LocalRepoWith ¶
Click to show internal directories.
Click to hide internal directories.