Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GithubCommit ¶
type GithubIssue ¶
type GithubIssueComment ¶ added in v0.3.0
type GithubIssueEvent ¶ added in v0.3.0
type GithubIssueLabel ¶ added in v0.3.0
type GithubIssueLabelIssue ¶ added in v0.3.0
type GithubPullRequest ¶
type GithubPullRequest struct {
GithubId int `gorm:"primaryKey"`
RepositoryId int `gorm:"index"`
Number int `gorm:"index"` // This number is used in GET requests to the API associated to reviewers / comments / etc.
State string
Title string
GithubCreatedAt time.Time
ClosedAt sql.NullTime
// In order to get the following fields, we need to collect PRs individually from GitHub
Additions int
Deletions int
Comments int
Commits int
ReviewComments int
Merged bool
MergedAt sql.NullTime
models.NoPKModel
}
type GithubPullRequestCommit ¶
type GithubPullRequestCommit struct {
Sha string `gorm:"primaryKey"`
PullRequestId int `gorm:"index"` // This value links to pull request
AuthorName string
AuthorEmail string
AuthoredDate time.Time
CommitterName string
CommitterEmail string
CommittedDate time.Time
Message string
Url string
models.NoPKModel
}
type GithubRepository ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.