Versions in this module Expand all Collapse all v1 v1.0.0 May 9, 2019 Changes in this version + type Auth interface + AccessToken func(code string) (string, error) + AccessTokenURL func() string + AuthorizeURL func() string + UserInfo func(string) (string, string, string, error) + func NewAuth(clientID, clientSecret string) Auth + type Code interface + CommitsOnBranch func(string, int) ([]*github.RepositoryCommit, error) + CommitsOnBranchAfter func(string, string) ([]*github.RepositoryCommit, error) + CompareRefs func(string, string) ([]*github.RepositoryCommit, error) + ParseWebhookForBranch func(*http.Request, *regexp.Regexp) (string, error) + Revert func(sha1, branch string) error + func NewCode(codeToken, repoOwner, repo, webhookURL, webhookSecret string) Code