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
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ import (
14
14
"fmt"
15
15
16
16
ghiter "github.com/enrichman/gh-iter"
17
-
"github.com/google/go-github/v68/github"
17
+
"github.com/google/go-github/v69/github"
18
18
)
19
19
20
20
funcmain() {
@@ -96,7 +96,7 @@ for repo := range repos.All() {
96
96
97
97
Some APIs do not match the "standard" string arguments, or the returned type is not an array. In these cases you can still use this package, but you will need to provide a "custom func" to the `ghiter.NewFromFn` constructor.
98
98
99
-
For example the [`client.Teams.ListTeamReposByID`](https://pkg.go.dev/github.com/google/go-github/v68/github#TeamsService.ListTeamReposByID) needs the `orgID, teamID int64` arguments:
99
+
For example the [`client.Teams.ListTeamReposByID`](https://pkg.go.dev/github.com/google/go-github/v69/github#TeamsService.ListTeamReposByID) needs the `orgID, teamID int64` arguments:
In case the returned object is not an array you will have to "unwrap" it.
108
-
For example the [`client.Teams.ListIDPGroupsInOrganization`](https://pkg.go.dev/github.com/google/go-github/v68/github#TeamsService.ListIDPGroupsInOrganization) returns a [IDPGroupList](https://pkg.go.dev/github.com/google/go-github/v68/github#IDPGroupList), and not a slice.
108
+
For example the [`client.Teams.ListIDPGroupsInOrganization`](https://pkg.go.dev/github.com/google/go-github/v69/github#TeamsService.ListIDPGroupsInOrganization) returns a [IDPGroupList](https://pkg.go.dev/github.com/google/go-github/v69/github#IDPGroupList), and not a slice.
0 commit comments