File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,8 @@ type Issue struct {
47
47
48
48
// ListIssueOption list issue options
49
49
type ListIssueOption struct {
50
- Page int
50
+ Page int
51
+ State string
51
52
}
52
53
53
54
// ListRepoIssues list one repos' issues
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ type Label struct {
15
15
ID int64 `json:"id"`
16
16
Name string `json:"name"`
17
17
Color string `json:"color"`
18
+ URL string `json:"url"`
18
19
}
19
20
20
21
// ListRepoLabels list lables of one reppsitory
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import (
11
11
// User represents a API user.
12
12
type User struct {
13
13
ID int64 `json:"id"`
14
- UserName string `json:"username "`
14
+ UserName string `json:"login "`
15
15
FullName string `json:"full_name"`
16
16
Email string `json:"email"`
17
17
AvatarURL string `json:"avatar_url"`
You can’t perform that action at this time.
0 commit comments