@@ -15,70 +15,86 @@ type issueService struct {
15
15
}
16
16
17
17
func (s * issueService ) Search (context.Context , scm.SearchOptions ) ([]* scm.SearchIssue , * scm.Response , error ) {
18
- // TODO implemment
18
+ // TODO implement
19
19
return nil , nil , nil
20
20
}
21
21
22
22
func (s * issueService ) AssignIssue (ctx context.Context , repo string , number int , logins []string ) (* scm.Response , error ) {
23
- panic ("implement me" )
23
+ // TODO implement
24
+ return nil , nil
24
25
}
25
26
26
27
func (s * issueService ) UnassignIssue (ctx context.Context , repo string , number int , logins []string ) (* scm.Response , error ) {
27
- panic ("implement me" )
28
+ // TODO implement
29
+ return nil , nil
28
30
}
29
31
30
32
func (s * issueService ) ListEvents (context.Context , string , int , scm.ListOptions ) ([]* scm.ListedIssueEvent , * scm.Response , error ) {
31
- panic ("implement me" )
33
+ // TODO implement
34
+ return nil , nil , nil
32
35
}
33
36
34
37
func (s * issueService ) ListLabels (context.Context , string , int , scm.ListOptions ) ([]* scm.Label , * scm.Response , error ) {
35
- panic ("implement me" )
38
+ // TODO implement
39
+ return nil , nil , nil
36
40
}
37
41
38
42
func (s * issueService ) AddLabel (ctx context.Context , repo string , number int , label string ) (* scm.Response , error ) {
39
- return nil , scm .ErrNotSupported
43
+ // TODO implement
44
+ return nil , nil
40
45
}
41
46
42
47
func (s * issueService ) DeleteLabel (ctx context.Context , repo string , number int , label string ) (* scm.Response , error ) {
43
- return nil , scm .ErrNotSupported
48
+ // TODO implement
49
+ return nil , nil
44
50
}
45
51
46
52
func (s * issueService ) Find (ctx context.Context , repo string , number int ) (* scm.Issue , * scm.Response , error ) {
47
- return nil , nil , scm .ErrNotSupported
53
+ // TODO implement
54
+ return nil , nil , nil
48
55
}
49
56
50
57
func (s * issueService ) FindComment (ctx context.Context , repo string , index , id int ) (* scm.Comment , * scm.Response , error ) {
51
- return nil , nil , scm .ErrNotSupported
58
+ // TODO implement
59
+ return nil , nil , nil
52
60
}
53
61
54
62
func (s * issueService ) List (ctx context.Context , repo string , opts scm.IssueListOptions ) ([]* scm.Issue , * scm.Response , error ) {
55
- return nil , nil , scm .ErrNotSupported
63
+ // TODO implement
64
+ return nil , nil , nil
56
65
}
57
66
58
67
func (s * issueService ) ListComments (ctx context.Context , repo string , index int , opts scm.ListOptions ) ([]* scm.Comment , * scm.Response , error ) {
59
- return nil , nil , scm .ErrNotSupported
68
+ // TODO implement
69
+ return nil , nil , nil
60
70
}
61
71
62
72
func (s * issueService ) Create (ctx context.Context , repo string , input * scm.IssueInput ) (* scm.Issue , * scm.Response , error ) {
63
- return nil , nil , scm .ErrNotSupported
73
+ // TODO implement
74
+ return nil , nil , nil
64
75
}
65
76
66
77
func (s * issueService ) CreateComment (ctx context.Context , repo string , number int , input * scm.CommentInput ) (* scm.Comment , * scm.Response , error ) {
67
- return nil , nil , scm .ErrNotSupported
78
+ // TODO implement
79
+ return nil , nil , nil
68
80
}
69
81
70
82
func (s * issueService ) DeleteComment (ctx context.Context , repo string , number , id int ) (* scm.Response , error ) {
71
- return nil , scm .ErrNotSupported
83
+ // TODO implement
84
+ return nil , nil
72
85
}
73
86
74
87
func (s * issueService ) Close (ctx context.Context , repo string , number int ) (* scm.Response , error ) {
75
- return nil , scm .ErrNotSupported
88
+ // TODO implement
89
+ return nil , nil
76
90
}
77
91
78
92
func (s * issueService ) Lock (ctx context.Context , repo string , number int ) (* scm.Response , error ) {
79
- return nil , scm .ErrNotSupported
93
+ // TODO implement
94
+ return nil , nil
80
95
}
81
96
82
97
func (s * issueService ) Unlock (ctx context.Context , repo string , number int ) (* scm.Response , error ) {
83
- return nil , scm .ErrNotSupported
98
+ // TODO implement
99
+ return nil , nil
84
100
}
0 commit comments