github-auth
GitHub authentication library for golang.
Documentation:
Build Status:
Usage
scopes := []string{"repo", "public_repo", "read:org"}
appName := "YourAppName"
client := client.CreateClient(appName, scopes)
If appName is "awesomeapp", this library will make ~/.awesomeapp.conf to store "Personal access token".
Also, your "Personal access token" that appears in Applications page will be named "awesomeapp".
License
github-auth is available under the MIT license. See the LICENSE file for more info.