Skip to content

Commit f5a2955

Browse files
Rick Moritzmigueleliasweb
authored andcommitted
Update to go-github v72.0
also bump other direct dependencies
1 parent dd6b287 commit f5a2955

File tree

9 files changed

+31
-21
lines changed

9 files changed

+31
-21
lines changed

go.mod

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ toolchain go1.24.1
66

77
require (
88
github.com/buger/jsonparser v1.1.1
9-
github.com/google/go-github/v71 v71.0.0
10-
github.com/gorilla/mux v1.8.0
11-
golang.org/x/mod v0.17.0
12-
golang.org/x/text v0.19.0
13-
golang.org/x/time v0.3.0
9+
github.com/google/go-github/v72 v72.0.0
10+
github.com/gorilla/mux v1.8.1
11+
golang.org/x/mod v0.24.0
12+
golang.org/x/text v0.25.0
13+
golang.org/x/time v0.11.0
1414
)
1515

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

go.sum

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@ github.com/buger/jsonparser v1.1.1/go.mod h1:6RYKKt7H4d4+iWqouImQ9R2FZql3VbhNgx2
33
github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
44
github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
55
github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU=
6-
github.com/google/go-github/v71 v71.0.0 h1:Zi16OymGKZZMm8ZliffVVJ/Q9YZreDKONCr+WUd0Z30=
7-
github.com/google/go-github/v71 v71.0.0/go.mod h1:URZXObp2BLlMjwu0O8g4y6VBneUj2bCHgnI8FfgZ51M=
6+
github.com/google/go-github/v72 v72.0.0 h1:FcIO37BLoVPBO9igQQ6tStsv2asG4IPcYFi655PPvBM=
7+
github.com/google/go-github/v72 v72.0.0/go.mod h1:WWtw8GMRiL62mvIquf1kO3onRHeWWKmK01qdCY8c5fg=
88
github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8=
99
github.com/google/go-querystring v1.1.0/go.mod h1:Kcdr2DB4koayq7X8pmAG4sNG59So17icRSOU623lUBU=
10-
github.com/gorilla/mux v1.8.0 h1:i40aqfkR1h2SlN9hojwV5ZA91wcXFOvkdNIeFDP5koI=
11-
github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So=
12-
golang.org/x/mod v0.17.0 h1:zY54UmvipHiNd+pm+m0x9KhZ9hl1/7QNMyxXbc6ICqA=
13-
golang.org/x/mod v0.17.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c=
14-
golang.org/x/text v0.19.0 h1:kTxAhCbGbxhK0IwgSKiMO5awPoDQ0RpfiVYBfK860YM=
15-
golang.org/x/text v0.19.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY=
16-
golang.org/x/time v0.3.0 h1:rg5rLMjNzMS1RkNLzCG38eapWhnYLFYXDXj2gOlr8j4=
17-
golang.org/x/time v0.3.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
10+
github.com/gorilla/mux v1.8.1 h1:TuBL49tXwgrFYWhqrNgrUNEY92u81SPhu7sTdzQEiWY=
11+
github.com/gorilla/mux v1.8.1/go.mod h1:AKf9I4AEqPTmMytcMc0KkNouC66V3BtZ4qD5fmWSiMQ=
12+
golang.org/x/mod v0.24.0 h1:ZfthKaKaT4NrhGVZHO1/WDTwGES4De8KtWO0SIbNJMU=
13+
golang.org/x/mod v0.24.0/go.mod h1:IXM97Txy2VM4PJ3gI61r1YEk/gAj6zAHN3AdZt6S9Ww=
14+
golang.org/x/text v0.25.0 h1:qVyWApTSYLk/drJRO5mDlNYskwQznZmkpV2c8q9zls4=
15+
golang.org/x/text v0.25.0/go.mod h1:WEdwpYrmk1qmdHvhkSTNPm3app7v4rsT8F2UD6+VHIA=
16+
golang.org/x/time v0.11.0 h1:/bpjEDfN9tkoN/ryeYHnv5hcMlc8ncjMcM4XBk5NWV0=
17+
golang.org/x/time v0.11.0/go.mod h1:CDIdPxbZBQxdj6cxyCIdrNogrJKMJ7pr37NYpMcMDSg=
1818
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=

main.go

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

1313
"github.com/buger/jsonparser"
14-
"github.com/google/go-github/v71/github"
14+
"github.com/google/go-github/v72/github"
1515

1616
"github.com/migueleliasweb/go-github-mock/src/gen"
1717
"golang.org/x/mod/modfile"

src/mock/endpointpattern.go

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5107,6 +5107,11 @@ var GetUsersSettingsBillingSharedStorageByUsername EndpointPattern = EndpointPat
51075107
Method: "GET",
51085108
}
51095109

5110+
var GetUsersSettingsBillingUsageByUsername EndpointPattern = EndpointPattern{
5111+
Pattern: "/users/{username}/settings/billing/usage",
5112+
Method: "GET",
5113+
}
5114+
51105115
var GetUsersSocialAccountsByUsername EndpointPattern = EndpointPattern{
51115116
Pattern: "/users/{username}/social_accounts",
51125117
Method: "GET",
@@ -5467,6 +5472,11 @@ var GetEnterprisesLicenseSyncStatusByEnterprise EndpointPattern = EndpointPatter
54675472
Method: "GET",
54685473
}
54695474

5475+
var GetEnterprisesMembersCopilotByEnterpriseByUsername EndpointPattern = EndpointPattern{
5476+
Pattern: "/enterprises/{enterprise}/members/{username}/copilot",
5477+
Method: "GET",
5478+
}
5479+
54705480
var GetEnterprisesNetworkConfigurationsByEnterprise EndpointPattern = EndpointPattern{
54715481
Pattern: "/enterprises/{enterprise}/network-configurations",
54725482
Method: "GET",

src/mock/endpointpattern_test.go

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

7-
"github.com/google/go-github/v71/github"
7+
"github.com/google/go-github/v72/github"
88
)
99

1010
func TestRepoGetContents(t *testing.T) {

src/mock/server_options_external_test.go

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

9-
"github.com/google/go-github/v71/github"
9+
"github.com/google/go-github/v72/github"
1010
"github.com/migueleliasweb/go-github-mock/src/mock"
1111
)
1212

src/mock/server_options_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package mock
33
import (
44
"testing"
55

6-
"github.com/google/go-github/v71/github"
6+
"github.com/google/go-github/v72/github"
77
"github.com/gorilla/mux"
88
)
99

src/mock/server_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"strings"
88
"testing"
99

10-
"github.com/google/go-github/v71/github"
10+
"github.com/google/go-github/v72/github"
1111
)
1212

1313
func TestNewMockedHTTPClient(t *testing.T) {

src/mock/utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"encoding/json"
55
"net/http"
66

7-
"github.com/google/go-github/v71/github"
7+
"github.com/google/go-github/v72/github"
88
)
99

1010
// MustMarshal helper function that wraps json.Marshal

0 commit comments

Comments
 (0)