Versions in this module Expand all Collapse all v0 v0.13.1 Nov 21, 2018 v0.13.0 Sep 20, 2018 Changes in this version + var DefaultClient = &defaultGitHub + type ContentSpec struct + Path string + RefSpec string + func (c ContentSpec) String() string + type GitHub interface + CommitSHA1 func(ctx context.Context, repo Repo, refSpec string) (string, error) + Contents func(ctx context.Context, repo Repo, path, sha1 string) (*github.RepositoryContent, []*github.RepositoryContent, error) + ValidateURL func(u string) error + func NewGitHub(httpClient *http.Client) GitHub + type Repo struct + Org string + Repo string + func (r Repo) String() string