You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[![Discuss at [email protected]](https://img.shields.io/badge/discuss-go--github%40googlegroups.com-blue.svg)](https://groups.google.com/group/go-github)
@@ -24,29 +24,29 @@ If you're interested in using the [GraphQL API v4][], the recommended library is
24
24
go-github is compatible with modern Go releases in module mode, with Go installed:
25
25
26
26
```bash
27
-
go get github.com/google/go-github/v65
27
+
go get github.com/google/go-github/v66
28
28
```
29
29
30
30
will resolve and add the package to the current development module, along with its dependencies.
31
31
32
32
Alternatively the same can be achieved if you use import in a package:
33
33
34
34
```go
35
-
import"github.com/google/go-github/v65/github"
35
+
import"github.com/google/go-github/v66/github"
36
36
```
37
37
38
38
and run `go get` without parameters.
39
39
40
40
Finally, to use the top-of-trunk version of this repo, use the following command:
41
41
42
42
```bash
43
-
go get github.com/google/go-github/v65@master
43
+
go get github.com/google/go-github/v66@master
44
44
```
45
45
46
46
## Usage ##
47
47
48
48
```go
49
-
import"github.com/google/go-github/v65/github"// with go modules enabled (GO111MODULE=on or outside GOPATH)
49
+
import"github.com/google/go-github/v66/github"// with go modules enabled (GO111MODULE=on or outside GOPATH)
50
50
import"github.com/google/go-github/github"// with go modules disabled
51
51
```
52
52
@@ -119,7 +119,7 @@ import (
119
119
"net/http"
120
120
121
121
"github.com/bradleyfalzon/ghinstallation/v2"
122
-
"github.com/google/go-github/v65/github"
122
+
"github.com/google/go-github/v66/github"
123
123
)
124
124
125
125
funcmain() {
@@ -153,7 +153,7 @@ import (
153
153
"os"
154
154
"strconv"
155
155
156
-
"github.com/google/go-github/v65/github"
156
+
"github.com/google/go-github/v66/github"
157
157
"github.com/jferrl/go-githubauth"
158
158
"golang.org/x/oauth2"
159
159
)
@@ -361,7 +361,7 @@ For complete usage of go-github, see the full [package docs][].
0 commit comments