Skip to content

Commit 22d22bb

Browse files
authored
chore(deps): bump google/go-github to v68 (#10)
Closes #8
1 parent 813c42d commit 22d22bb

5 files changed

Lines changed: 9 additions & 9 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
"fmt"
1515

1616
ghiter "github.com/enrichman/gh-iter"
17-
"github.com/google/go-github/v67/github"
17+
"github.com/google/go-github/v68/github"
1818
)
1919

2020
func main() {
@@ -96,7 +96,7 @@ for repo := range repos.All() {
9696

9797
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.
9898

99-
For example the [`client.Teams.ListTeamReposByID`](https://pkg.go.dev/github.com/google/go-github/v67/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/v68/github#TeamsService.ListTeamReposByID) needs the `orgID, teamID int64` arguments:
100100

101101
```go
102102
repos := ghiter.NewFromFn(func(ctx context.Context, opts *github.ListOptions) ([]*github.Repository, *github.Response, error) {
@@ -105,7 +105,7 @@ repos := ghiter.NewFromFn(func(ctx context.Context, opts *github.ListOptions) ([
105105
```
106106

107107
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/v67/github#TeamsService.ListIDPGroupsInOrganization) returns a [IDPGroupList](https://pkg.go.dev/github.com/google/go-github/v67/github#IDPGroupList), and not a slice.
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.
109109

110110
```go
111111
idpGroups := ghiter.NewFromFn(func(ctx context.Context, opts *github.ListCursorOptions) ([]*github.IDPGroup, *github.Response, error) {

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
module github.com/enrichman/gh-iter/v67
1+
module github.com/enrichman/gh-iter/v68
22

33
go 1.23
44

5-
require github.com/google/go-github/v67 v67.0.0
5+
require github.com/google/go-github/v68 v68.0.0
66

77
require github.com/google/go-querystring v1.1.0 // indirect

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
22
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
33
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
4-
github.com/google/go-github/v67 v67.0.0 h1:g11NDAmfaBaCO8qYdI9fsmbaRipHNWRIU/2YGvlh4rg=
5-
github.com/google/go-github/v67 v67.0.0/go.mod h1:zH3K7BxjFndr9QSeFibx4lTKkYS3K9nDanoI1NjaOtY=
4+
github.com/google/go-github/v68 v68.0.0 h1:ZW57zeNZiXTdQ16qrDiZ0k6XucrxZ2CGmoTvcCyQG6s=
5+
github.com/google/go-github/v68 v68.0.0/go.mod h1:K9HAUBovM2sLwM408A18h+wd9vqdLOEqTUCbnRIcx68=
66
github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8=
77
github.com/google/go-querystring v1.1.0/go.mod h1:Kcdr2DB4koayq7X8pmAG4sNG59So17icRSOU623lUBU=
88
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=

iter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"strconv"
1111
"strings"
1212

13-
"github.com/google/go-github/v67/github"
13+
"github.com/google/go-github/v68/github"
1414
)
1515

1616
type Iterator[T, O any] struct {

iter_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"reflect"
55
"testing"
66

7-
"github.com/google/go-github/v67/github"
7+
"github.com/google/go-github/v68/github"
88
)
99

1010
func Test_updateOptions(t *testing.T) {

0 commit comments

Comments
 (0)