Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Base ¶
type Base struct {
Ref string `json:"ref"`
}
Base struct handles the base branch which user wants to merge the changes.
type Commit ¶
type Commit struct {
Info Info `json:"commit"`
}
Commit struct handles the commits of the head branch.
func (*Commit) PrintCommit ¶
PrintCommit function for showing Commit log.
type Head ¶
type Head struct {
Ref string `json:"ref"`
}
Head struct handles the branch which user changed the content.
type NewPr ¶
type NewPr struct { Title string `json:"title"` Body string `json:"body"` Head string `json:"head"` Base string `json:"base"` }
NewPr struct is for creating new pull request.
type NewPrRes ¶
type NewPrRes struct {
URL string `json:"html_url"`
}
NewPrRes struct is for managing the response after creating new pull request.
type Pr ¶
type Pr struct { URL string `json:"html_url"` Title string `json:"title"` Number int `json:"number"` Body string `json:"body"` CreatedAt string `json:"created_at"` UpdatedAt string `json:"updated_at"` User User `json:"user"` Head Head `json:"head"` Base Base `json:"base"` }
Pr struct handles abstract of PR.
func (*Pr) PrintDetail ¶
PrintDetail function for showing Pull Request's body.
func (*Pr) PrintSummary ¶
PrintSummary function for showing each Pull Request abstract.
Click to show internal directories.
Click to hide internal directories.