@@ -19,52 +19,52 @@ func (n NullDownloader) SetContext(_ context.Context) {}
19
19
20
20
// GetRepoInfo returns a repository information
21
21
func (n NullDownloader ) GetRepoInfo () (* Repository , error ) {
22
- return nil , & ErrNotSupported {Entity : "RepoInfo" }
22
+ return nil , ErrNotSupported {Entity : "RepoInfo" }
23
23
}
24
24
25
25
// GetTopics return repository topics
26
26
func (n NullDownloader ) GetTopics () ([]string , error ) {
27
- return nil , & ErrNotSupported {Entity : "Topics" }
27
+ return nil , ErrNotSupported {Entity : "Topics" }
28
28
}
29
29
30
30
// GetMilestones returns milestones
31
31
func (n NullDownloader ) GetMilestones () ([]* Milestone , error ) {
32
- return nil , & ErrNotSupported {Entity : "Milestones" }
32
+ return nil , ErrNotSupported {Entity : "Milestones" }
33
33
}
34
34
35
35
// GetReleases returns releases
36
36
func (n NullDownloader ) GetReleases () ([]* Release , error ) {
37
- return nil , & ErrNotSupported {Entity : "Releases" }
37
+ return nil , ErrNotSupported {Entity : "Releases" }
38
38
}
39
39
40
40
// GetLabels returns labels
41
41
func (n NullDownloader ) GetLabels () ([]* Label , error ) {
42
- return nil , & ErrNotSupported {Entity : "Labels" }
42
+ return nil , ErrNotSupported {Entity : "Labels" }
43
43
}
44
44
45
45
// GetIssues returns issues according start and limit
46
46
func (n NullDownloader ) GetIssues (page , perPage int ) ([]* Issue , bool , error ) {
47
- return nil , false , & ErrNotSupported {Entity : "Issues" }
47
+ return nil , false , ErrNotSupported {Entity : "Issues" }
48
48
}
49
49
50
50
// GetComments returns comments of an issue or PR
51
51
func (n NullDownloader ) GetComments (commentable Commentable ) ([]* Comment , bool , error ) {
52
- return nil , false , & ErrNotSupported {Entity : "Comments" }
52
+ return nil , false , ErrNotSupported {Entity : "Comments" }
53
53
}
54
54
55
55
// GetAllComments returns paginated comments
56
56
func (n NullDownloader ) GetAllComments (page , perPage int ) ([]* Comment , bool , error ) {
57
- return nil , false , & ErrNotSupported {Entity : "AllComments" }
57
+ return nil , false , ErrNotSupported {Entity : "AllComments" }
58
58
}
59
59
60
60
// GetPullRequests returns pull requests according page and perPage
61
61
func (n NullDownloader ) GetPullRequests (page , perPage int ) ([]* PullRequest , bool , error ) {
62
- return nil , false , & ErrNotSupported {Entity : "PullRequests" }
62
+ return nil , false , ErrNotSupported {Entity : "PullRequests" }
63
63
}
64
64
65
65
// GetReviews returns pull requests review
66
66
func (n NullDownloader ) GetReviews (reviewable Reviewable ) ([]* Review , error ) {
67
- return nil , & ErrNotSupported {Entity : "Reviews" }
67
+ return nil , ErrNotSupported {Entity : "Reviews" }
68
68
}
69
69
70
70
// FormatCloneURL add authentication into remote URLs
0 commit comments