Documentation
¶
Index ¶
- func New(organization string, token string) *githubclient
- type AddLabelRequestBody
- type Comment
- type CommentAuthor
- type CommentEdge
- type Comments
- type ErrorResponseBody
- type GithubError
- type GraphqlRequestBody
- type GraphqlVariables
- type Issue
- type IssueEdge
- type Issues
- type Label
- type LabelEdge
- type LabelRenameRequestBody
- type Labels
- type Repository
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AddLabelRequestBody ¶
type AddLabelRequestBody struct {
Labels []string `json:"labels"`
}
type Comment ¶
type Comment struct { AuthorAssociation string `json:"authorAssociation"` Author CommentAuthor `json:"author"` }
type CommentAuthor ¶
type CommentAuthor struct {
Login string `json:"login"`
}
type CommentEdge ¶
type CommentEdge struct {
Node Comment `json:"node"`
}
type Comments ¶
type Comments struct {
Edges []CommentEdge `json:"edges"`
}
type ErrorResponseBody ¶
type ErrorResponseBody struct { Message string `json:"message"` Errors []GithubError `json:"errors"` DocumentationUrl string `json:"documentation_url"` }
type GithubError ¶
type GraphqlRequestBody ¶
type GraphqlRequestBody struct { Variables GraphqlVariables `json:"variables"` Query string `json:"query"` }
type GraphqlVariables ¶
type Issues ¶
type Issues struct { Data struct { Repository struct { Issues struct { Edges []IssueEdge `json:"edges"` } `json:"issues"` } `json:"repository"` } `json:"data"` }
type LabelRenameRequestBody ¶
type LabelRenameRequestBody struct {
NewName string `json:"new_name"`
}
type Repository ¶
Click to show internal directories.
Click to hide internal directories.