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)
8
8
[](https://bestpractices.coreinfrastructure.org/projects/796)
9
9
10
10
go-github is a Go client library for accessing the [GitHub API v3][].
11
11
12
-
Currently, **go-github requires Go version 1.13 or greater**. go-github tracks
12
+
Currently, **go-github requires Go version 1.21 or greater**. go-github tracks
13
13
[Go's version support policy][support-policy]. We do our best not to break
14
14
older versions of Go if we don't have to, but due to tooling constraints, we
GitHub Apps authentication can be provided by different pkgs like [ghinstallation](https://github.com/bradleyfalzon/ghinstallation) or [go-githubauth](https://github.com/jferrl/go-githubauth).
103
+
GitHub Apps authentication can be provided by different pkgs like [bradleyfalzon/ghinstallation](https://github.com/bradleyfalzon/ghinstallation)
104
+
or [jferrl/go-githubauth](https://github.com/jferrl/go-githubauth).
Learn more about GitHub conditional requests in the
268
+
["Use conditional requests if appropriate"](https://docs.github.com/en/rest/using-the-rest-api/best-practices-for-using-the-rest-api?apiVersion=2022-11-28#use-conditional-requests-if-appropriate).
270
269
271
270
### Creating and Updating Resources ###
272
271
@@ -316,7 +315,7 @@ for {
316
315
}
317
316
```
318
317
319
-
#### Iterators (**experimental**)
318
+
#### Iterators (**experimental**) ####
320
319
321
320
Go v1.23 introduces the new `iter` package.
322
321
@@ -367,7 +366,7 @@ For complete usage of go-github, see the full [package docs][].
The repo [migueleliasweb/go-github-mock](https://github.com/migueleliasweb/go-github-mock) provides a way to mock responses. Check the repo for more details.
373
372
@@ -376,6 +375,7 @@ The repo [migueleliasweb/go-github-mock](https://github.com/migueleliasweb/go-gi
376
375
You can run integration tests from the `test` directory. See the integration tests [README](test/README.md).
377
376
378
377
## Contributing ##
378
+
379
379
I would like to cover the entire GitHub API and contributions are of course always welcome. The
380
380
calling pattern is pretty well established, so adding new methods is relatively
381
381
straightforward. See [`CONTRIBUTING.md`](CONTRIBUTING.md) for details.
0 commit comments