Versions in this module Expand all Collapse all v0 v0.1.0 May 30, 2019 Changes in this version + var ErrInvalidGithubClient = fmt.Errorf("expected *github.Client") + var ErrInvalidRepo = fmt.Errorf("invalid repo") + var ErrNoAccessToken = fmt.Errorf("no access token") + var ErrNoDir = fmt.Errorf("no directory") + var ErrNoUserInfo = fmt.Errorf("no username:token provided") + func WithInstance(client *github.Client, config *Config) (source.Driver, error) + type Config struct + type Github struct + func (g *Github) Close() + func (g *Github) Open(url string) (source.Driver, error) + func (g *Github) ReadFiles(relativeDir string, fileNamePattern string) (files []*source.FileReader, err error) + func (g *Github) ReadTree(relativePath string, fileNamePattern string) (t *source.DirectoryReader, err error)