1
1
# go-github #
2
2
3
3
[ ![ 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/v67 /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/v68 /github )
5
5
[ ![ Test Status] ( https://github.com/google/go-github/workflows/tests/badge.svg )] ( https://github.com/google/go-github/actions?query=workflow%3Atests )
6
6
[ ![ Test Coverage] ( https://codecov.io/gh/google/go-github/branch/master/graph/badge.svg )] ( 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 )
@@ -25,29 +25,29 @@ If you're interested in using the [GraphQL API v4][], the recommended library is
25
25
go-github is compatible with modern Go releases in module mode, with Go installed:
26
26
27
27
``` bash
28
- go get github.com/google/go-github/v67
28
+ go get github.com/google/go-github/v68
29
29
```
30
30
31
31
will resolve and add the package to the current development module, along with its dependencies.
32
32
33
33
Alternatively the same can be achieved if you use import in a package:
34
34
35
35
``` go
36
- import " github.com/google/go-github/v67 /github"
36
+ import " github.com/google/go-github/v68 /github"
37
37
```
38
38
39
39
and run ` go get ` without parameters.
40
40
41
41
Finally, to use the top-of-trunk version of this repo, use the following command:
42
42
43
43
``` bash
44
- go get github.com/google/go-github/v67 @master
44
+ go get github.com/google/go-github/v68 @master
45
45
```
46
46
47
47
## Usage ##
48
48
49
49
``` go
50
- import " github.com/google/go-github/v67 /github" // with go modules enabled (GO111MODULE=on or outside GOPATH)
50
+ import " github.com/google/go-github/v68 /github" // with go modules enabled (GO111MODULE=on or outside GOPATH)
51
51
import " github.com/google/go-github/github" // with go modules disabled
52
52
```
53
53
@@ -120,7 +120,7 @@ import (
120
120
" net/http"
121
121
122
122
" github.com/bradleyfalzon/ghinstallation/v2"
123
- " github.com/google/go-github/v67 /github"
123
+ " github.com/google/go-github/v68 /github"
124
124
)
125
125
126
126
func main () {
@@ -154,7 +154,7 @@ import (
154
154
" os"
155
155
" strconv"
156
156
157
- " github.com/google/go-github/v67 /github"
157
+ " github.com/google/go-github/v68 /github"
158
158
" github.com/jferrl/go-githubauth"
159
159
" golang.org/x/oauth2"
160
160
)
@@ -362,7 +362,7 @@ For complete usage of go-github, see the full [package docs][].
362
362
363
363
[ GitHub API v3 ] : https://docs.github.com/en/rest
364
364
[ personal access token ] : https://github.com/blog/1509-personal-api-tokens
365
- [ package docs ] : https://pkg.go.dev/github.com/google/go-github/v67 /github
365
+ [ package docs ] : https://pkg.go.dev/github.com/google/go-github/v68 /github
366
366
[ GraphQL API v4 ] : https://developer.github.com/v4/
367
367
[ shurcooL/githubv4 ] : https://github.com/shurcooL/githubv4
368
368
[ GitHub webhook events ] : https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads
@@ -436,7 +436,7 @@ Versions prior to 48.2.0 are not listed.
436
436
437
437
| go-github Version | GitHub v3 API Version |
438
438
| ----------------- | --------------------- |
439
- | 67 .0.0 | 2022-11-28 |
439
+ | 68 .0.0 | 2022-11-28 |
440
440
| ... | 2022-11-28 |
441
441
| 48.2.0 | 2022-11-28 |
442
442
0 commit comments