go-github: github.com/google/go-github/example

Directories

PathSynopsis
appenginePackage demo provides an app that shows how to use the github package on Google App Engine.
basicauthThe basicauth command demonstrates using the github.BasicAuthTransport, including handling two-factor authentication.
commitprThe commitpr command utilizes go-github as a CLI tool for pushing files to a branch and creating a pull request from it.
migrationsmigrations demonstrates the functionality of the user data migration API for the authenticated GitHub user and lists all the user migrations.
newrepoThe newrepo command utilizes go-github as a cli tool for creating new repositories.
simpleThe 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.

Updated 2019-10-16. Refresh now. Tools for package owners.