Skip to content

Commit d515bb7

Browse files
authored
chore(deps): bump google/go-github to v69 (#13)
1 parent ffb98d1 commit d515bb7

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

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/v68/github"
17+
"github.com/google/go-github/v69/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/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:
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/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.
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/v68
1+
module github.com/enrichman/gh-iter/v69
22

33
go 1.23
44

5-
require github.com/google/go-github/v68 v68.0.0
5+
require github.com/google/go-github/v69 v69.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/v68 v68.0.0 h1:ZW57zeNZiXTdQ16qrDiZ0k6XucrxZ2CGmoTvcCyQG6s=
5-
github.com/google/go-github/v68 v68.0.0/go.mod h1:K9HAUBovM2sLwM408A18h+wd9vqdLOEqTUCbnRIcx68=
4+
github.com/google/go-github/v69 v69.0.0 h1:YnFvZ3pEIZF8KHmI8xyQQe3mYACdkhnaTV2hr7CP2/w=
5+
github.com/google/go-github/v69 v69.0.0/go.mod h1:xne4jymxLR6Uj9b7J7PyTpkMYstEMMwGZa0Aehh1azM=
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
@@ -11,7 +11,7 @@ import (
1111
"strings"
1212
"time"
1313

14-
"github.com/google/go-github/v68/github"
14+
"github.com/google/go-github/v69/github"
1515
)
1616

1717
type Iterator[T, O any] struct {

iter_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"testing"
66
"time"
77

8-
"github.com/google/go-github/v68/github"
8+
"github.com/google/go-github/v69/github"
99
)
1010

1111
func Test_updateOptions(t *testing.T) {

0 commit comments

Comments
 (0)