Documentation ¶
Overview ¶
Lists the issues reported in a single file mentioned by the user
Lists the issues reported in the whole project
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileIssuesListParams ¶
type FileIssuesListRequest ¶
type FileIssuesListRequest struct {
Params FileIssuesListParams
}
Request struct
func (FileIssuesListRequest) Do ¶
func (f FileIssuesListRequest) Do(ctx context.Context, client IGQLClient) ([]issues.Issue, error)
Function to execute the query
type FileIssuesResponse ¶
type FileIssuesResponse struct { Repository struct { File struct { Issues struct { Edges []struct { Node struct { Path string `json:"path"` Beginline int `json:"beginLine"` Endline int `json:"endLine"` Concreteissue struct { Analyzer struct { Shortcode string `json:"shortcode"` } `json:"analyzer"` Title string `json:"title"` Shortcode string `json:"shortcode"` } `json:"concreteIssue"` } `json:"node"` } `json:"edges"` } `json:"issues"` } `json:"file"` } `json:"repository"` }
Response struct
type IGQLClient ¶
GraphQL client interface
type IssuesListParams ¶
type IssuesListRequest ¶
type IssuesListRequest struct {
Params IssuesListParams
}
func (IssuesListRequest) Do ¶
func (i IssuesListRequest) Do(ctx context.Context, client IGQLClient) ([]issues.Issue, error)
type IssuesListResponse ¶
type IssuesListResponse struct { Repository struct { Issues struct { Edges []struct { Node struct { Path string `json:"path"` Beginline int `json:"beginLine"` Endline int `json:"endLine"` Concreteissue struct { Analyzer struct { Shortcode string `json:"shortcode"` } `json:"analyzer"` Title string `json:"title"` Shortcode string `json:"shortcode"` } `json:"concreteIssue"` } `json:"node"` } `json:"edges"` } `json:"issues"` } `json:"repository"` }
Click to show internal directories.
Click to hide internal directories.