Documentation ¶ Index ¶ func AbortIfError(err error) type Agent func New(config *Config) *Agent func (a *Agent) Add() (err error) func (a *Agent) Commit() (err error) func (a *Agent) Hooks() (err error) func (a *Agent) Push() (err error) func (a *Agent) Title() (_ error) type Commit type Config type Push Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func AbortIfError ¶ func AbortIfError(err error) Types ¶ type Agent ¶ type Agent struct { Config *Config // contains filtered or unexported fields } func New ¶ func New(config *Config) *Agent func (*Agent) Add ¶ func (a *Agent) Add() (err error) func (*Agent) Commit ¶ func (a *Agent) Commit() (err error) func (*Agent) Hooks ¶ func (a *Agent) Hooks() (err error) func (*Agent) Push ¶ func (a *Agent) Push() (err error) func (*Agent) Title ¶ func (a *Agent) Title() (_ error) type Commit ¶ type Commit struct { Long bool Breaking bool } type Config ¶ type Config struct { Commit Commit Push Push } type Push ¶ type Push struct { Force bool } Source Files ¶ View all Source files agent.go util.go Click to show internal directories. Click to hide internal directories.