|
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/v73/github) |
| 4 | +[](https://pkg.go.dev/github.com/google/go-github/v74/github) |
5 | 5 | [](https://github.com/google/go-github/actions/workflows/tests.yml) |
6 | 6 | [](https://codecov.io/gh/google/go-github) |
7 | 7 | [](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/v73 |
| 33 | +go get github.com/google/go-github/v74 |
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/v73/github" |
| 41 | +import "github.com/google/go-github/v74/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/v73@master |
| 49 | +go get github.com/google/go-github/v74@master |
50 | 50 | ``` |
51 | 51 |
|
52 | 52 | ## Usage ## |
53 | 53 |
|
54 | 54 | ```go |
55 | | -import "github.com/google/go-github/v73/github" // with go modules enabled (GO111MODULE=on or outside GOPATH) |
| 55 | +import "github.com/google/go-github/v74/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/v73/github" |
| 128 | + "github.com/google/go-github/v74/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/v73/github" |
| 162 | + "github.com/google/go-github/v74/github" |
163 | 163 | "github.com/jferrl/go-githubauth" |
164 | 164 | "golang.org/x/oauth2" |
165 | 165 | ) |
@@ -400,7 +400,7 @@ For complete usage of go-github, see the full [package docs][]. |
400 | 400 |
|
401 | 401 | [GitHub API v3]: https://docs.github.com/en/rest |
402 | 402 | [personal access token]: https://github.com/blog/1509-personal-api-tokens |
403 | | -[package docs]: https://pkg.go.dev/github.com/google/go-github/v73/github |
| 403 | +[package docs]: https://pkg.go.dev/github.com/google/go-github/v74/github |
404 | 404 | [GraphQL API v4]: https://developer.github.com/v4/ |
405 | 405 | [shurcooL/githubv4]: https://github.com/shurcooL/githubv4 |
406 | 406 | [GitHub webhook events]: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads |
@@ -474,7 +474,7 @@ Versions prior to 48.2.0 are not listed. |
474 | 474 |
|
475 | 475 | | go-github Version | GitHub v3 API Version | |
476 | 476 | | ----------------- | --------------------- | |
477 | | -| 73.0.0 | 2022-11-28 | |
| 477 | +| 74.0.0 | 2022-11-28 | |
478 | 478 | | ... | 2022-11-28 | |
479 | 479 | | 48.2.0 | 2022-11-28 | |
480 | 480 |
|
|
0 commit comments