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- [ ![ Go Reference] ( https://img.shields.io/static/v1?label=godoc&message=reference&color=blue )] ( https://pkg.go.dev/github.com/google/go-github/v76 /github )
4+ [ ![ Go Reference] ( https://img.shields.io/static/v1?label=godoc&message=reference&color=blue )] ( https://pkg.go.dev/github.com/google/go-github/v77 /github )
55[ ![ Test Status] ( https://github.com/google/go-github/actions/workflows/tests.yml/badge.svg?branch=master )] ( https://github.com/google/go-github/actions/workflows/tests.yml )
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 ) @@ -30,29 +30,29 @@ If you're interested in using the [GraphQL API v4][], the recommended library is
3030go-github is compatible with modern Go releases in module mode, with Go installed:
3131
3232``` bash
33- go get github.com/google/go-github/v76
33+ go get github.com/google/go-github/v77
3434```
3535
3636will resolve and add the package to the current development module, along with its dependencies.
3737
3838Alternatively the same can be achieved if you use import in a package:
3939
4040``` go
41- import " github.com/google/go-github/v76 /github"
41+ import " github.com/google/go-github/v77 /github"
4242```
4343
4444and run ` go get ` without parameters.
4545
4646Finally, to use the top-of-trunk version of this repo, use the following command:
4747
4848``` bash
49- go get github.com/google/go-github/v76 @master
49+ go get github.com/google/go-github/v77 @master
5050```
5151
5252## Usage ##
5353
5454``` go
55- import " github.com/google/go-github/v76 /github" // with go modules enabled (GO111MODULE=on or outside GOPATH)
55+ import " github.com/google/go-github/v77 /github" // with go modules enabled (GO111MODULE=on or outside GOPATH)
5656import " github.com/google/go-github/github" // with go modules disabled
5757```
5858
@@ -102,7 +102,7 @@ include the specified OAuth token. Therefore, authenticated clients should
102102almost never be shared between different users.
103103
104104For API methods that require HTTP Basic Authentication, use the
105- [ ` BasicAuthTransport ` ] ( https://pkg.go.dev/github.com/google/go-github/v76 /github#BasicAuthTransport ) .
105+ [ ` BasicAuthTransport ` ] ( https://pkg.go.dev/github.com/google/go-github/v77 /github#BasicAuthTransport ) .
106106
107107#### As a GitHub App ####
108108
@@ -125,7 +125,7 @@ import (
125125 " net/http"
126126
127127 " github.com/bradleyfalzon/ghinstallation/v2"
128- " github.com/google/go-github/v76 /github"
128+ " github.com/google/go-github/v77 /github"
129129)
130130
131131func main () {
@@ -159,7 +159,7 @@ import (
159159 " os"
160160 " strconv"
161161
162- " github.com/google/go-github/v76 /github"
162+ " github.com/google/go-github/v77 /github"
163163 " github.com/jferrl/go-githubauth"
164164 " golang.org/x/oauth2"
165165)
@@ -400,7 +400,7 @@ For complete usage of go-github, see the full [package docs][].
400400
401401[ GitHub API v3 ] : https://docs.github.com/en/rest
402402[ personal access token ] : https://github.com/blog/1509-personal-api-tokens
403- [ package docs ] : https://pkg.go.dev/github.com/google/go-github/v76 /github
403+ [ package docs ] : https://pkg.go.dev/github.com/google/go-github/v77 /github
404404[ GraphQL API v4 ] : https://developer.github.com/v4/
405405[ shurcooL/githubv4 ] : https://github.com/shurcooL/githubv4
406406[ 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.
474474
475475| go-github Version | GitHub v3 API Version |
476476| ----------------- | --------------------- |
477- | 76 .0.0 | 2022-11-28 |
477+ | 77 .0.0 | 2022-11-28 |
478478| ... | 2022-11-28 |
479479| 48.2.0 | 2022-11-28 |
480480
0 commit comments