| 24 | } |
| 25 | |
| 26 | type Issue struct { |
| 27 | Typename string `json:"__typename"` |
| 28 | ID string |
| 29 | Number int |
| 30 | Title string |
| 31 | URL string |
| 32 | State string |
| 33 | StateReason string |
| 34 | Closed bool |
| 35 | Body string |
| 36 | ActiveLockReason string |
| 37 | Locked bool |
| 38 | CreatedAt time.Time |
| 39 | UpdatedAt time.Time |
| 40 | ClosedAt *time.Time |
| 41 | Comments Comments |
| 42 | Author Author |
| 43 | Assignees Assignees |
| 44 | AssignedActors AssignedActors |
| 45 | Labels Labels |
| 46 | ProjectCards ProjectCards |
| 47 | ProjectItems ProjectItems |
| 48 | Milestone *Milestone |
| 49 | ReactionGroups ReactionGroups |
| 50 | IsPinned bool |
| 51 | |
| 52 | IssueType *IssueType |
| 53 | Parent *LinkedIssue |
| 54 | SubIssues SubIssues |
| 55 | SubIssuesSummary SubIssuesSummary |
| 56 | BlockedBy LinkedIssueConnection |
| 57 | Blocking LinkedIssueConnection |
| 58 | |
| 59 | ClosedByPullRequestsReferences ClosedByPullRequestsReferences |
| 60 | } |
| 61 | |
| 62 | // IssueType represents an issue type configured for a repository. |
| 63 | type IssueType struct { |
nothing calls this directly
no outgoing calls
no test coverage detected