diff --git a/api/queries_issue.go b/api/queries_issue.go index 3804fea2a..b04ac3245 100644 --- a/api/queries_issue.go +++ b/api/queries_issue.go @@ -23,7 +23,7 @@ type IssuesAndTotalCount struct { TotalCount int } -// Ref. https://docs.github.com/v4/object/issue +// Ref. Please see Github GraphQL object issue reference page type Issue struct { ID string Number int diff --git a/pkg/cmd/pr/view/view.go b/pkg/cmd/pr/view/view.go index 82f5d0ef0..5a437e154 100644 --- a/pkg/cmd/pr/view/view.go +++ b/pkg/cmd/pr/view/view.go @@ -191,7 +191,7 @@ func printHumanPrPreview(io *iostreams.IOStreams, pr *api.PullRequest) error { return nil } -// Ref. https://docs.github.com/v4/enum/pullrequestreviewstate/ +// Ref. Please see Github GraphQL PullRequestReviewState reference page const ( requestedReviewState = "REQUESTED" // This is our own state for review request approvedReviewState = "APPROVED" @@ -250,7 +250,7 @@ func prReviewerList(pr api.PullRequest) string { return reviewerList } -// Ref. https://docs.github.com/v4/enum/pullrequestreviewstate/ +// Ref. Please see Github GraphQL PullRequestReviewState reference page const teamTypeName = "Team" const ghostName = "ghost"