Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Issue ¶
type Issue struct {
ID int `json:"id"`
Number int `json:"number"` // issue number
Title string `json:"title"`
URL string `json:"html_url"`
Body string `json:"body"`
User User `json:"user"`
State string `json:"state"`
Locked bool `json:"locked"`
Labels []Label `json:"labels"`
CreatedAt string `json:"created_at"`
UpdatedAt string `json:"updated_at"`
ClosedAt string `json:"closed_at"`
Comments []Comment `json:"-"` // ignore for un-marshalling
Reactions Reactions `json:"reactions"`
PullRequest *PullRequest `json:"pull_request,omitempty"` // used for filtering pull requests
}
type PullRequest ¶
type Repository ¶ added in v0.2.5
type Repository struct {
ID int `json:"id"`
Name string `json:"name"`
FullName string `json:"full_name"`
Owner User `json:"owner"`
Private bool `json:"private"`
Description string `json:"description"`
Fork bool `json:"fork"`
ForksCount int `json:"forks_count"`
StargazersCount int `json:"stargazers_count"`
WatchersCount int `json:"watchers_count"`
OpenIssuesCount int `json:"open_issues_count"`
Topics []string `json:"topics"`
Archived bool `json:"archived"`
PushedAt string `json:"pushed_at"`
CreatedAt string `json:"created_at"`
UpdatedAt string `json:"updated_at"`
}
Click to show internal directories.
Click to hide internal directories.