You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d4963eb
Browse filesBrowse the repository at this point in the historyBrowse files
replace []Issue with []*Issue and for other large structs as well
Note that this is an API-breaking change but should have minimal
impact on users of this package due to the nice inference
properties of the Go programming language.
Bumped `libraryVersion` to 0.2 due to API-breaking change as
discussed in google#376.
Fixesgoogle#180.
Change-Id: Ib386135e6b8f306d1f54278968c576f3ceccc4e7
// ListEvents drinks from the firehose of all public events across GitHub.
86
86
//
87
87
// GitHub API docs: http://developer.github.com/v3/activity/events/#list-public-events
// ListRepositoryEvents lists events for a repository.
109
109
//
110
110
// GitHub API docs: http://developer.github.com/v3/activity/events/#list-repository-events
// ListIssueEventsForRepository lists issue events for a repository.
133
133
//
134
134
// GitHub API docs: http://developer.github.com/v3/activity/events/#list-issue-events-for-a-repository
// ListEventsForRepoNetwork lists public events for a network of repositories.
157
157
//
158
158
// GitHub API docs: http://developer.github.com/v3/activity/events/#list-public-events-for-a-network-of-repositories
// ListEventsForOrganization lists public events for an organization.
181
181
//
182
182
// GitHub API docs: http://developer.github.com/v3/activity/events/#list-public-events-for-an-organization
// GitHub API docs: http://developer.github.com/v3/activity/events/#list-events-performed-by-a-user
// GitHub API docs: http://developer.github.com/v3/activity/events/#list-events-that-a-user-has-received
// must be authenticated as the user to view this.
266
266
//
267
267
// GitHub API docs: http://developer.github.com/v3/activity/events/#list-events-for-an-organization
Copy file name to clipboardExpand all lines: github/activity_notifications.go
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -49,7 +49,7 @@ type NotificationListOptions struct {
49
49
// ListNotifications lists all notifications for the authenticated user.
50
50
//
51
51
// GitHub API Docs: https://developer.github.com/v3/activity/notifications/#list-your-notifications
@@ -61,7 +61,7 @@ func (s *ActivityService) ListNotifications(opt *NotificationListOptions) ([]Not
61
61
returnnil, nil, err
62
62
}
63
63
64
-
varnotifications []Notification
64
+
varnotifications []*Notification
65
65
resp, err:=s.client.Do(req, ¬ifications)
66
66
iferr!=nil {
67
67
returnnil, resp, err
@@ -74,7 +74,7 @@ func (s *ActivityService) ListNotifications(opt *NotificationListOptions) ([]Not
74
74
// for the authenticated user.
75
75
//
76
76
// GitHub API Docs: https://developer.github.com/v3/activity/notifications/#list-your-notifications-in-a-repository
Copy file name to clipboardExpand all lines: github/activity_star.go
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ type Stargazer struct {
22
22
// ListStargazers lists people who have starred the specified repo.
23
23
//
24
24
// GitHub API Docs: https://developer.github.com/v3/activity/starring/#list-stargazers
@@ -64,7 +64,7 @@ type ActivityListStarredOptions struct {
64
64
// will list the starred repositories for the authenticated user.
65
65
//
66
66
// GitHub API docs: http://developer.github.com/v3/activity/starring/#list-repositories-being-starred
Copy file name to clipboardExpand all lines: github/activity_watching.go
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ type Subscription struct {
25
25
// ListWatchers lists watchers of a particular repo.
26
26
//
27
27
// GitHub API Docs: http://developer.github.com/v3/activity/watching/#list-watchers
// the empty string will fetch watched repos for the authenticated user.
51
51
//
52
52
// GitHub API Docs: https://developer.github.com/v3/activity/watching/#list-repositories-being-watched
0 commit comments