Documentation ¶
Index ¶
- Variables
- func AreGistsFilesEquals(gist1 *github.Gist, gist2 *github.Gist) bool
- func CreateGistFromLocalFiles(description string, files ...string) (gist *github.Gist, err error)
- func CreateGistFromLocalFolder(description string, localFolder string) (gist *github.Gist, err error)
- func DeleteGist(ctx context.Context, gistId string) error
- func GetClientFromContext(ctx context.Context) (*github.Client, error)
- func GetGistByDescription(ctx context.Context, gistDescription string) (*github.Gist, error)
- func GetGistById(ctx context.Context, gistId string) (*github.Gist, error)
- func HttpResponseError(statusCode int, status string) error
- func Log(format string, v ...interface{})
- func NewGitContext(token string, ctx context.Context) (context.Context, error)
- func PostGist(ctx context.Context, gist *github.Gist) (*github.Gist, error)
- func SaveGistFilesToLocal(gist *github.Gist, localFolder string) (err error)
- func SetDefaultLogger()
- func SetLogger(logger *log.Logger)
- type SyncAction
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func GetGistByDescription ¶
func HttpResponseError ¶ added in v0.10.2
func SaveGistFilesToLocal ¶
func SetDefaultLogger ¶
func SetDefaultLogger()
Types ¶
Click to show internal directories.
Click to hide internal directories.