Actor is a superset of User and Bot, among others. At the time of writing, some of these fields are not directly supported by the Actor type and instead are only available on the User or Bot types directly.
| 159 | // instead are only available on the User or Bot types |
| 160 | // directly. |
| 161 | type Actor struct { |
| 162 | ID string `json:"id"` |
| 163 | Login string `json:"login"` |
| 164 | Name string `json:"name"` |
| 165 | TypeName string `json:"__typename"` |
| 166 | } |
| 167 | |
| 168 | // BranchRef is the branch name in a GitHub repository |
| 169 | type BranchRef struct { |
nothing calls this directly
no outgoing calls
no test coverage detected