Documentation ¶
Index ¶
- type GithubCommit
- type GithubIssue
- type GithubIssueComment
- type GithubIssueEvent
- type GithubIssueLabel
- type GithubIssueLabelIssue
- type GithubPullRequest
- type GithubPullRequestComment
- type GithubPullRequestCommit
- type GithubPullRequestCommitPullRequest
- type GithubRepoCommit
- type GithubRepository
- type GithubReviewer
- type GithubUser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GithubCommit ¶
type GithubCommit struct { Sha string `gorm:"primaryKey;type:char(40)"` AuthorId int AuthorName string AuthorEmail string AuthoredDate time.Time CommitterId int CommitterName string CommitterEmail string CommittedDate time.Time Message string Url string Additions int `gorm:"comment:Added lines of code"` Deletions int `gorm:"comment:Deleted lines of code"` common.NoPKModel }
type GithubIssue ¶
type GithubIssue struct { GithubId int `gorm:"primaryKey"` Number int `gorm:"index;comment:Used in API requests ex. api/repo/1/issue/<THIS_NUMBER>"` State string Title string Body string Priority string Type string Status string Assignee string LeadTimeMinutes uint ClosedAt *time.Time GithubCreatedAt time.Time GithubUpdatedAt time.Time common.NoPKModel }
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 *time.Time // 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 *time.Time common.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 common.NoPKModel }
type GithubRepoCommit ¶ added in v0.6.0
type GithubRepository ¶
type GithubRepository struct { GithubId int `gorm:"primaryKey"` Name string HTMLUrl string Description string OwnerId int `json:"ownerId"` OwnerLogin string `json:"ownerLogin" gorm:"type:varchar(255)"` Language string `json:"language" gorm:"type:varchar(255)"` ParentGithubId int `json:"parentId"` ParentHTMLUrl string `json:"parentHtmlUrl"` CreatedDate time.Time `json:"createdDate"` UpdatedDate *time.Time `json:"updatedDate"` common.NoPKModel }
type GithubReviewer ¶
type GithubUser ¶ added in v0.6.0
Source Files ¶
- github_commit.go
- github_issue.go
- github_issue_comment.go
- github_issue_event.go
- github_issue_label.go
- github_issue_label_issue.go
- github_pull_request.go
- github_pull_request_comment.go
- github_pull_request_commit.go
- github_pull_request_commit_pull_request.go
- github_repo_commit.go
- github_repository.go
- github_reviewer.go
- github_user.go
Click to show internal directories.
Click to hide internal directories.