|
1 | 1 | # go-github #
|
2 | 2 |
|
3 | 3 | [](https://github.com/google/go-github/releases)
|
4 |
| -[](https://pkg.go.dev/github.com/google/go-github/v70/github) |
| 4 | +[](https://pkg.go.dev/github.com/google/go-github/v71/github) |
5 | 5 | [](https://github.com/google/go-github/actions/workflows/tests.yml)
|
6 | 6 | [](https://codecov.io/gh/google/go-github)
|
7 | 7 | [![Discuss at [email protected]](https://img.shields.io/badge/discuss-go--github%40googlegroups.com-blue.svg)](https://groups.google.com/group/go-github)
|
@@ -30,29 +30,29 @@ If you're interested in using the [GraphQL API v4][], the recommended library is
|
30 | 30 | go-github is compatible with modern Go releases in module mode, with Go installed:
|
31 | 31 |
|
32 | 32 | ```bash
|
33 |
| -go get github.com/google/go-github/v70 |
| 33 | +go get github.com/google/go-github/v71 |
34 | 34 | ```
|
35 | 35 |
|
36 | 36 | will resolve and add the package to the current development module, along with its dependencies.
|
37 | 37 |
|
38 | 38 | Alternatively the same can be achieved if you use import in a package:
|
39 | 39 |
|
40 | 40 | ```go
|
41 |
| -import "github.com/google/go-github/v70/github" |
| 41 | +import "github.com/google/go-github/v71/github" |
42 | 42 | ```
|
43 | 43 |
|
44 | 44 | and run `go get` without parameters.
|
45 | 45 |
|
46 | 46 | Finally, to use the top-of-trunk version of this repo, use the following command:
|
47 | 47 |
|
48 | 48 | ```bash
|
49 |
| -go get github.com/google/go-github/v70@master |
| 49 | +go get github.com/google/go-github/v71@master |
50 | 50 | ```
|
51 | 51 |
|
52 | 52 | ## Usage ##
|
53 | 53 |
|
54 | 54 | ```go
|
55 |
| -import "github.com/google/go-github/v70/github" // with go modules enabled (GO111MODULE=on or outside GOPATH) |
| 55 | +import "github.com/google/go-github/v71/github" // with go modules enabled (GO111MODULE=on or outside GOPATH) |
56 | 56 | import "github.com/google/go-github/github" // with go modules disabled
|
57 | 57 | ```
|
58 | 58 |
|
@@ -125,7 +125,7 @@ import (
|
125 | 125 | "net/http"
|
126 | 126 |
|
127 | 127 | "github.com/bradleyfalzon/ghinstallation/v2"
|
128 |
| - "github.com/google/go-github/v70/github" |
| 128 | + "github.com/google/go-github/v71/github" |
129 | 129 | )
|
130 | 130 |
|
131 | 131 | func main() {
|
@@ -159,7 +159,7 @@ import (
|
159 | 159 | "os"
|
160 | 160 | "strconv"
|
161 | 161 |
|
162 |
| - "github.com/google/go-github/v70/github" |
| 162 | + "github.com/google/go-github/v71/github" |
163 | 163 | "github.com/jferrl/go-githubauth"
|
164 | 164 | "golang.org/x/oauth2"
|
165 | 165 | )
|
@@ -380,7 +380,7 @@ For complete usage of go-github, see the full [package docs][].
|
380 | 380 |
|
381 | 381 | [GitHub API v3]: https://docs.github.com/en/rest
|
382 | 382 | [personal access token]: https://github.com/blog/1509-personal-api-tokens
|
383 |
| -[package docs]: https://pkg.go.dev/github.com/google/go-github/v70/github |
| 383 | +[package docs]: https://pkg.go.dev/github.com/google/go-github/v71/github |
384 | 384 | [GraphQL API v4]: https://developer.github.com/v4/
|
385 | 385 | [shurcooL/githubv4]: https://github.com/shurcooL/githubv4
|
386 | 386 | [GitHub webhook events]: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads
|
@@ -454,7 +454,7 @@ Versions prior to 48.2.0 are not listed.
|
454 | 454 |
|
455 | 455 | | go-github Version | GitHub v3 API Version |
|
456 | 456 | | ----------------- | --------------------- |
|
457 |
| -| 70.0.0 | 2022-11-28 | |
| 457 | +| 71.0.0 | 2022-11-28 | |
458 | 458 | | ... | 2022-11-28 |
|
459 | 459 | | 48.2.0 | 2022-11-28 |
|
460 | 460 |
|
|
0 commit comments