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
[](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/v41
27
+
go get github.com/google/go-github/v42
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/v41/github"
35
+
import"github.com/google/go-github/v42/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/v41@master
43
+
go get github.com/google/go-github/v42@master
44
44
```
45
45
46
46
## Usage ##
47
47
48
48
```go
49
-
import"github.com/google/go-github/v41/github"// with go modules enabled (GO111MODULE=on or outside GOPATH)
49
+
import"github.com/google/go-github/v42/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
@@ -123,7 +123,7 @@ package.
123
123
```go
124
124
import (
125
125
"github.com/bradleyfalzon/ghinstallation/v2"
126
-
"github.com/google/go-github/v41/github"
126
+
"github.com/google/go-github/v42/github"
127
127
)
128
128
129
129
funcmain() {
@@ -252,7 +252,7 @@ For complete usage of go-github, see the full [package docs][].
0 commit comments