Skip to content

Commit 33ae6f3

Browse files
authored
Bump version of go-github library to v39 (google#2087)
1 parent ecb86f7 commit 33ae6f3

File tree

24 files changed

+31
-31
lines changed

24 files changed

+31
-31
lines changed

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# go-github #
22

33
[![go-github release (latest SemVer)](https://img.shields.io/github/v/release/google/go-github?sort=semver)](https://github.com/google/go-github/releases)
4-
[![GoDoc](https://img.shields.io/static/v1?label=godoc&message=reference&color=blue)](https://pkg.go.dev/github.com/google/go-github/v38/github)
4+
[![GoDoc](https://img.shields.io/static/v1?label=godoc&message=reference&color=blue)](https://pkg.go.dev/github.com/google/go-github/v39/github)
55
[![Test Status](https://github.com/google/go-github/workflows/tests/badge.svg)](https://github.com/google/go-github/actions?query=workflow%3Atests)
66
[![Test Coverage](https://codecov.io/gh/google/go-github/branch/master/graph/badge.svg)](https://codecov.io/gh/google/go-github)
77
[![Discuss at [email protected]](https://img.shields.io/badge/discuss-go--github%40googlegroups.com-blue.svg)](https://groups.google.com/group/go-github)
@@ -24,29 +24,29 @@ If you're interested in using the [GraphQL API v4][], the recommended library is
2424
go-github is compatible with modern Go releases in module mode, with Go installed:
2525

2626
```bash
27-
go get github.com/google/go-github/v38
27+
go get github.com/google/go-github/v39
2828
```
2929

3030
will resolve and add the package to the current development module, along with its dependencies.
3131

3232
Alternatively the same can be achieved if you use import in a package:
3333

3434
```go
35-
import "github.com/google/go-github/v38/github"
35+
import "github.com/google/go-github/v39/github"
3636
```
3737

3838
and run `go get` without parameters.
3939

4040
Finally, to use the top-of-trunk version of this repo, use the following command:
4141

4242
```bash
43-
go get github.com/google/go-github/v38@master
43+
go get github.com/google/go-github/v39@master
4444
```
4545

4646
## Usage ##
4747

4848
```go
49-
import "github.com/google/go-github/v38/github" // with go modules enabled (GO111MODULE=on or outside GOPATH)
49+
import "github.com/google/go-github/v39/github" // with go modules enabled (GO111MODULE=on or outside GOPATH)
5050
import "github.com/google/go-github/github" // with go modules disabled
5151
```
5252

@@ -246,7 +246,7 @@ For complete usage of go-github, see the full [package docs][].
246246
[oauth2]: https://github.com/golang/oauth2
247247
[oauth2 docs]: https://godoc.org/golang.org/x/oauth2
248248
[personal API token]: https://github.com/blog/1509-personal-api-tokens
249-
[package docs]: https://pkg.go.dev/github.com/google/go-github/v38/github
249+
[package docs]: https://pkg.go.dev/github.com/google/go-github/v39/github
250250
[GraphQL API v4]: https://developer.github.com/v4/
251251
[shurcooL/githubv4]: https://github.com/shurcooL/githubv4
252252

example/appengine/app.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
"net/http"
1313
"os"
1414

15-
"github.com/google/go-github/v38/github"
15+
"github.com/google/go-github/v39/github"
1616
"golang.org/x/oauth2"
1717
"google.golang.org/appengine"
1818
"google.golang.org/appengine/log"

example/basicauth/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222
"strings"
2323
"syscall"
2424

25-
"github.com/google/go-github/v38/github"
25+
"github.com/google/go-github/v39/github"
2626
"golang.org/x/crypto/ssh/terminal"
2727
)
2828

example/commitpr/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import (
3131
"strings"
3232
"time"
3333

34-
"github.com/google/go-github/v38/github"
34+
"github.com/google/go-github/v39/github"
3535
"golang.org/x/oauth2"
3636
)
3737

example/migrations/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
"context"
1313
"fmt"
1414

15-
"github.com/google/go-github/v38/github"
15+
"github.com/google/go-github/v39/github"
1616
"golang.org/x/oauth2"
1717
)
1818

example/newrepo/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import (
1616
"log"
1717
"os"
1818

19-
"github.com/google/go-github/v38/github"
19+
"github.com/google/go-github/v39/github"
2020
"golang.org/x/oauth2"
2121
)
2222

example/newreposecretwithlibsodium/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ go 1.15
44

55
require (
66
github.com/GoKillers/libsodium-go v0.0.0-20171022220152-dd733721c3cb
7-
github.com/google/go-github/v38 v38.0.0
7+
github.com/google/go-github/v39 v39.0.0
88
golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43
99
gopkg.in/yaml.v2 v2.3.0 // indirect
1010
)

example/newreposecretwithlibsodium/go.sum

+2-2
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/
8585
github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
8686
github.com/google/go-github/v33 v33.0.0 h1:qAf9yP0qc54ufQxzwv+u9H0tiVOnPJxo0lI/JXqw3ZM=
8787
github.com/google/go-github/v33 v33.0.0/go.mod h1:GMdDnVZY/2TsWgp/lkYnpSAh6TrzhANBBwm6k6TTEXg=
88-
github.com/google/go-github/v38 v38.0.0 h1:rCspN8/6kB1BAJWZfuafvHhyfIo5fkAulaP/3bOQ/tM=
89-
github.com/google/go-github/v38 v38.0.0/go.mod h1:LM7in3NmXDrX58GbEHy7FtNLbI2JijX93RnMKvWG3m4=
88+
github.com/google/go-github/v39 v39.0.0 h1:rCspN8/6kB1BAJWZfuafvHhyfIo5fkAulaP/3bOQ/tM=
89+
github.com/google/go-github/v39 v39.0.0/go.mod h1:LM7in3NmXDrX58GbEHy7FtNLbI2JijX93RnMKvWG3m4=
9090
github.com/google/go-querystring v1.0.0 h1:Xkwi/a1rcvNg1PPYe5vI8GbeBY/jrVuDX5ASuANWTrk=
9191
github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck=
9292
github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs=

example/newreposecretwithlibsodium/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import (
3434
"os"
3535

3636
sodium "github.com/GoKillers/libsodium-go/cryptobox"
37-
"github.com/google/go-github/v38/github"
37+
"github.com/google/go-github/v39/github"
3838
"golang.org/x/oauth2"
3939
)
4040

example/newreposecretwithxcrypto/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module newreposecretwithxcrypto
33
go 1.15
44

55
require (
6-
github.com/google/go-github/v38 v38.0.0
6+
github.com/google/go-github/v39 v39.0.0
77
golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97
88
golang.org/x/net v0.0.0-20210805182204-aaa1db679c0d // indirect
99
golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43

example/newreposecretwithxcrypto/go.sum

+2-2
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/
8383
github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
8484
github.com/google/go-cmp v0.5.6 h1:BKbKCqvP6I+rmFHt06ZmyQtvB8xAkWdhFyr0ZUNZcxQ=
8585
github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
86-
github.com/google/go-github/v38 v38.0.0 h1:rCspN8/6kB1BAJWZfuafvHhyfIo5fkAulaP/3bOQ/tM=
87-
github.com/google/go-github/v38 v38.0.0/go.mod h1:LM7in3NmXDrX58GbEHy7FtNLbI2JijX93RnMKvWG3m4=
86+
github.com/google/go-github/v39 v39.0.0 h1:rCspN8/6kB1BAJWZfuafvHhyfIo5fkAulaP/3bOQ/tM=
87+
github.com/google/go-github/v39 v39.0.0/go.mod h1:LM7in3NmXDrX58GbEHy7FtNLbI2JijX93RnMKvWG3m4=
8888
github.com/google/go-querystring v1.0.0 h1:Xkwi/a1rcvNg1PPYe5vI8GbeBY/jrVuDX5ASuANWTrk=
8989
github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck=
9090
github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs=

example/newreposecretwithxcrypto/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import (
3434
"log"
3535
"os"
3636

37-
"github.com/google/go-github/v38/github"
37+
"github.com/google/go-github/v39/github"
3838
"golang.org/x/crypto/nacl/box"
3939
"golang.org/x/oauth2"
4040
)

example/simple/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
"context"
1313
"fmt"
1414

15-
"github.com/google/go-github/v38/github"
15+
"github.com/google/go-github/v39/github"
1616
)
1717

1818
// Fetch all the public organizations' membership of a user.

example/tokenauth/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
"log"
1515
"syscall"
1616

17-
"github.com/google/go-github/v38/github"
17+
"github.com/google/go-github/v39/github"
1818
"golang.org/x/crypto/ssh/terminal"
1919
"golang.org/x/oauth2"
2020
)

example/topics/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
"context"
1313
"fmt"
1414

15-
"github.com/google/go-github/v38/github"
15+
"github.com/google/go-github/v39/github"
1616
)
1717

1818
// Fetch and lists all the public topics associated with the specified GitHub topic

github/doc.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Package github provides a client for using the GitHub API.
88
99
Usage:
1010
11-
import "github.com/google/go-github/v38/github" // with go modules enabled (GO111MODULE=on or outside GOPATH)
11+
import "github.com/google/go-github/v39/github" // with go modules enabled (GO111MODULE=on or outside GOPATH)
1212
import "github.com/google/go-github/github" // with go modules disabled
1313
1414
Construct a new GitHub client, then use the various services on the client to

github/examples_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
"fmt"
1313
"log"
1414

15-
"github.com/google/go-github/v38/github"
15+
"github.com/google/go-github/v39/github"
1616
)
1717

1818
func ExampleClient_Markdown() {

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/google/go-github/v38
1+
module github.com/google/go-github/v39
22

33
require (
44
github.com/golang/protobuf v1.3.2 // indirect

test/fields/fields.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import (
2525
"reflect"
2626
"strings"
2727

28-
"github.com/google/go-github/v38/github"
28+
"github.com/google/go-github/v39/github"
2929
"golang.org/x/oauth2"
3030
)
3131

test/integration/activity_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
"context"
1313
"testing"
1414

15-
"github.com/google/go-github/v38/github"
15+
"github.com/google/go-github/v39/github"
1616
)
1717

1818
const (

test/integration/authorizations_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import (
1717
"testing"
1818
"time"
1919

20-
"github.com/google/go-github/v38/github"
20+
"github.com/google/go-github/v39/github"
2121
)
2222

2323
const msgEnvMissing = "Skipping test because the required environment variable (%v) is not present."

test/integration/github_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
"net/http"
1616
"os"
1717

18-
"github.com/google/go-github/v38/github"
18+
"github.com/google/go-github/v39/github"
1919
"golang.org/x/oauth2"
2020
)
2121

test/integration/repos_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import (
1616
"testing"
1717

1818
"github.com/google/go-cmp/cmp"
19-
"github.com/google/go-github/v38/github"
19+
"github.com/google/go-github/v39/github"
2020
)
2121

2222
func TestRepositories_CRUD(t *testing.T) {

test/integration/users_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
"math/rand"
1515
"testing"
1616

17-
"github.com/google/go-github/v38/github"
17+
"github.com/google/go-github/v39/github"
1818
)
1919

2020
func TestUsers_Get(t *testing.T) {

0 commit comments

Comments
 (0)