Versions in this module Expand all Collapse all v1 v1.0.1 Jul 25, 2019 v1.0.0 Jul 22, 2019 Changes in this version + type Commit struct + Added []string + ID string + Modified []string + type FileService struct + GitHub GitHubClient + Logger logrus.FieldLogger + func (f *FileService) DecodeURL(url string) (org, repo, path, branch string) + func (f *FileService) Download(org, repo, path, branch string) (string, error) + func (f *FileService) EncodeURL(org, repo, path, branch string) string + type GitHub struct + Endpoint string + Token string + func (g *GitHub) CreateStatus(status *Status, org, repo, ref string) error + func (g *GitHub) DownloadContents(org, repo, path, branch string) (string, error) + func (g *GitHub) GetEndpoint() string + type GitHubClient interface + CreateStatus func(*Status, string, string, string) error + DownloadContents func(string, string, string, string) (string, error) + GetEndpoint func() string + type Push struct + Commits []Commit + DeckBaseURL string + GitHub GitHub + Logger logrus.FieldLogger + Ref string + Repository Repository + func (p *Push) Branch() string + func (p *Push) ContainsFile(file string) bool + func (p *Push) Files() []string + func (p *Push) IsMaster() bool + func (p *Push) Name() string + func (p *Push) Org() string + func (p *Push) Repo() string + func (p *Push) SetCommitStatus(status git.Status) + type Repository struct + Name string + Organization string + Owner RepositoryOwner + type RepositoryOwner struct + Login string + type Status struct + Context string + DeckBaseURL string + Description string + State string