Documentation ¶
Overview ¶
Package git contains types and engines to work with git repositories.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Commit ¶
type Commit struct { SHA string ParentSHAs []string Message string CommittedAt time.Time AuthoredAt time.Time }
Commit represents a repository commit.
type CommitsComparison ¶
CommitsComparison is the result of comparing two commits.
type PullRequest ¶
type PullRequest struct { Number int `yaml:"number"` Title string `yaml:"title"` Body string `yaml:"body"` Author User `yaml:"author"` Labels []string `yaml:"labels"` ClosedAt time.Time `yaml:"closed_at"` SourceBranch string `yaml:"source_branch"` TargetBranch string `yaml:"target_branch"` URL string `yaml:"url"` ReceivedBySHAs []string `yaml:"received_by_shas"` Assignees []User `yaml:"assignees"` }
PullRequest represents a pull/merge request from the remote repository.
Click to show internal directories.
Click to hide internal directories.