example/ directory

Directories

PathSynopsis
example/appenginePackage demo provides an app that shows how to use the github package on Google App Engine.
example/basicauthThe basicauth command demonstrates using the github.BasicAuthTransport, including handling two-factor authentication.
example/commitprThe commitpr command utilizes go-github as a CLI tool for pushing files to a branch and creating a pull request from it.
example/migrationsmigrations demonstrates the functionality of the user data migration API for the authenticated GitHub user and lists all the user migrations.
example/newrepoThe newrepo command utilizes go-github as a cli tool for creating new repositories.
example/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.
Version
v17.0.0+incompatible (latest)
Published
Aug 10, 2018
Platform
linux/amd64
Last checked
13 minutes ago

Tools for package owners.