Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Info ¶
type Info struct { Org string Repo string Head string // PR head branch Base string // PR base branch UserID string // Github User ID of PR creator UserName string // User display name for Git commit Email string // User email address for Git commit }
Info saves information that can be used to interact with GitHub.
func (*Info) GetHeadRef ¶
GetHeadRef returns the HeadRef with the given Git Info. HeadRef is in the form of "user:head", i.e. "github_user:branch_foo"
Click to show internal directories.
Click to hide internal directories.