|
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/v68/github) |
| 4 | +[](https://pkg.go.dev/github.com/google/go-github/v69/github) |
5 | 5 | [](https://github.com/google/go-github/actions?query=workflow%3Atests) |
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) |
@@ -43,29 +43,29 @@ If you're interested in using the [GraphQL API v4][], the recommended library is |
43 | 43 | go-github is compatible with modern Go releases in module mode, with Go installed: |
44 | 44 |
|
45 | 45 | ```bash |
46 | | -go get github.com/google/go-github/v68 |
| 46 | +go get github.com/google/go-github/v69 |
47 | 47 | ``` |
48 | 48 |
|
49 | 49 | will resolve and add the package to the current development module, along with its dependencies. |
50 | 50 |
|
51 | 51 | Alternatively the same can be achieved if you use import in a package: |
52 | 52 |
|
53 | 53 | ```go |
54 | | -import "github.com/google/go-github/v68/github" |
| 54 | +import "github.com/google/go-github/v69/github" |
55 | 55 | ``` |
56 | 56 |
|
57 | 57 | and run `go get` without parameters. |
58 | 58 |
|
59 | 59 | Finally, to use the top-of-trunk version of this repo, use the following command: |
60 | 60 |
|
61 | 61 | ```bash |
62 | | -go get github.com/google/go-github/v68@master |
| 62 | +go get github.com/google/go-github/v69@master |
63 | 63 | ``` |
64 | 64 |
|
65 | 65 | ## Usage ## |
66 | 66 |
|
67 | 67 | ```go |
68 | | -import "github.com/google/go-github/v68/github" // with go modules enabled (GO111MODULE=on or outside GOPATH) |
| 68 | +import "github.com/google/go-github/v69/github" // with go modules enabled (GO111MODULE=on or outside GOPATH) |
69 | 69 | import "github.com/google/go-github/github" // with go modules disabled |
70 | 70 | ``` |
71 | 71 |
|
@@ -138,7 +138,7 @@ import ( |
138 | 138 | "net/http" |
139 | 139 |
|
140 | 140 | "github.com/bradleyfalzon/ghinstallation/v2" |
141 | | - "github.com/google/go-github/v68/github" |
| 141 | + "github.com/google/go-github/v69/github" |
142 | 142 | ) |
143 | 143 |
|
144 | 144 | func main() { |
@@ -172,7 +172,7 @@ import ( |
172 | 172 | "os" |
173 | 173 | "strconv" |
174 | 174 |
|
175 | | - "github.com/google/go-github/v68/github" |
| 175 | + "github.com/google/go-github/v69/github" |
176 | 176 | "github.com/jferrl/go-githubauth" |
177 | 177 | "golang.org/x/oauth2" |
178 | 178 | ) |
@@ -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/v68/github |
| 383 | +[package docs]: https://pkg.go.dev/github.com/google/go-github/v69/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 | | -| 68.0.0 | 2022-11-28 | |
| 457 | +| 69.0.0 | 2022-11-28 | |
458 | 458 | | ... | 2022-11-28 | |
459 | 459 | | 48.2.0 | 2022-11-28 | |
460 | 460 |
|
|
0 commit comments