example/
directory v43.0.0
Go to latest Published: Mar 2, 2022 License:BSD-3-Clause
Opens a new window with list of versions in this module.
Latest LatestThis package is not in the latest version of its module.
Opens a new window with license information.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Directories¶
| Path | Synopsis |
|---|---|
Package demo provides an app that shows how to use the github package on Google App Engine. | Package demo provides an app that shows how to use the github package on Google App Engine. |
The basicauth command demonstrates using the github.BasicAuthTransport, including handling two-factor authentication. | The basicauth command demonstrates using the github.BasicAuthTransport, including handling two-factor authentication. |
The commitpr command utilizes go-github as a CLI tool for pushing files to a branch and creating a pull request from it. | The commitpr command utilizes go-github as a CLI tool for pushing files to a branch and creating a pull request from it. |
listenvironments is an example of how to use ListEnvironments method with EnvironmentListOptions. | listenvironments is an example of how to use ListEnvironments method with EnvironmentListOptions. |
migrations demonstrates the functionality of the user data migration API for the authenticated GitHub user and lists all the user migrations. | migrations demonstrates the functionality of the user data migration API for the authenticated GitHub user and lists all the user migrations. |
newfilewithappauth demonstrates the functionality of GitHub's app authentication methods by fetching an installation access token and reauthenticating to GitHub with OAuth configurations. | newfilewithappauth demonstrates the functionality of GitHub's app authentication methods by fetching an installation access token and reauthenticating to GitHub with OAuth configurations. |
The newrepo command utilizes go-github as a cli tool for creating new repositories. | The newrepo command utilizes go-github as a cli tool for creating new repositories. |
The simple command demonstrates a simple functionality which prompts the user for a GitHub username and lists all the public organization memberships of the specified username. | The simple command demonstrates a simple functionality which prompts the user for a GitHub username and lists all the public organization memberships of the specified username. |
The tokenauth command demonstrates using the oauth2.StaticTokenSource. | The tokenauth command demonstrates using the oauth2.StaticTokenSource. |
The simple command demonstrates the functionality that prompts the user for a GitHub topic and lists all the entities that are related to the specified topic or subject. | The simple command demonstrates the functionality that prompts the user for a GitHub topic and lists all the entities that are related to the specified topic or subject. |
Click to show internal directories.
Click to hide internal directories.