Versions in this module Expand all Collapse all v0 v0.3.3 Jan 13, 2019 v0.3.2 Jun 14, 2018 v0.3.1 Jun 12, 2018 Changes in this version + type Client interface + GetSnippet func() (*Snippet, error) + UploadSnippet func(string) error + func NewGistClient() (Client, error) + func NewGitLabClient() (Client, error) + func NewSyncClient() (Client, error) + type GistClient struct + Client *github.Client + ID string + func (g GistClient) GetSnippet() (*Snippet, error) + func (g GistClient) UploadSnippet(content string) error + type GitLabClient struct + Client *gitlab.Client + ID int + func (g GitLabClient) GetSnippet() (*Snippet, error) + func (g GitLabClient) UploadSnippet(content string) error + type Snippet struct + Content string + UpdatedAt time.Time v0.3.0 Feb 10, 2018 Changes in this version + func AutoSync(file string) error