Documentation
¶
Index ¶
- func AddIssueComment(input githubv4.AddCommentInput) error
- func CloseIssue(id string) error
- func CreateIssue(input githubv4.CreateIssueInput) error
- func DeleteIssueComment(id string) error
- func NewClient(token string)
- func ReopenIssue(id string) error
- func UpdateIssue(input githubv4.UpdateIssueInput) error
- func UpdateIssueComment(input githubv4.UpdateIssueCommentInput) error
- type AssignableUser
- type AssignableUsers
- type Comment
- type Issue
- type IssueTemplate
- type Issues
- type Label
- type Labels
- type Milestone
- type Milestones
- type MutateAddIssueComment
- type MutateCoseIssue
- type MutateCreateIssue
- type MutateDeleteComment
- type MutateOpenIsseue
- type MutateUpdateIssue
- type MutateUpdateIssueComment
- type PageInfo
- type Project
- type Projects
- type Repositories
- type Repository
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddIssueComment ¶
func AddIssueComment(input githubv4.AddCommentInput) error
func CloseIssue ¶
func CreateIssue ¶
func CreateIssue(input githubv4.CreateIssueInput) error
func DeleteIssueComment ¶
func ReopenIssue ¶
func UpdateIssue ¶
func UpdateIssue(input githubv4.UpdateIssueInput) error
func UpdateIssueComment ¶
func UpdateIssueComment(input githubv4.UpdateIssueCommentInput) error
Types ¶
type AssignableUser ¶
func (*AssignableUser) ToDomain ¶
func (a *AssignableUser) ToDomain() *domain.AssignableUser
type AssignableUsers ¶
type AssignableUsers struct { Nodes []struct { ID githubv4.ID Login githubv4.String } PageInfo PageInfo }
func GetRepoAssignableUsers ¶
func GetRepoAssignableUsers(variables map[string]interface{}) (*AssignableUsers, error)
type Comment ¶
type Issue ¶
type Issue struct { ID githubv4.String Repository struct { ID githubv4.String Owner struct { Login githubv4.String } Name githubv4.String } Number githubv4.Int Body githubv4.String State githubv4.String Author struct { Login githubv4.String } Title githubv4.String URL githubv4.URI Labels Labels `graphql:"labels(first: 10)"` Assignees struct { Nodes []AssignableUser } `graphql:"assignees(first: 10)"` ProjectCards struct { Nodes []struct { Project Project } } `graphql:"projectCards(first: 10)"` Milestone Milestone Comments struct { Nodes []Comment } `graphql:"comments(first: 100)"` }
type IssueTemplate ¶
type IssueTemplate struct { About githubv4.String Body githubv4.String Name githubv4.String Title githubv4.String }
func GetIssueTemplates ¶
func GetIssueTemplates(variables map[string]interface{}) ([]IssueTemplate, error)
type Label ¶
type Labels ¶
func GetRepoLabels ¶
type Milestone ¶
type Milestones ¶
func GetRepoMillestones ¶
func GetRepoMillestones(variables map[string]interface{}) (*Milestones, error)
type MutateAddIssueComment ¶
type MutateCoseIssue ¶
type MutateCreateIssue ¶
type MutateDeleteComment ¶
type MutateOpenIsseue ¶
type MutateUpdateIssue ¶
type Projects ¶
func GetRepoProjects ¶
type Repositories ¶
type Repositories struct { Nodes []Repository PageInfo PageInfo }
func GetRepos ¶
func GetRepos(variables map[string]interface{}) (*Repositories, error)
type Repository ¶
type Repository struct { ID githubv4.ID Name githubv4.String NameWithOwner githubv4.String CreatedAt githubv4.DateTime DefaultBranchRef struct { Name githubv4.String } Description githubv4.String LicenseInfo struct { Name githubv4.String } StargazerCount githubv4.Int URL githubv4.URI SSHURL githubv4.String }
func GetRepo ¶
func GetRepo(variables map[string]interface{}) (*Repository, error)
Click to show internal directories.
Click to hide internal directories.