Documentation ¶ Index ¶ type GIT func NewGIT() *GIT func (g *GIT) AssignTag(name, commit, subject string, date time.Time) error func (g *GIT) DeleteTag(name string) error func (g *GIT) GetLogs() ([]Log, error) func (g *GIT) GetTags() ([]Tag, error) type Log type Option func Args(args ...string) Option func Env(env ...string) Option type Tag Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type GIT ¶ type GIT struct { } func NewGIT ¶ func NewGIT() *GIT func (*GIT) AssignTag ¶ func (g *GIT) AssignTag(name, commit, subject string, date time.Time) error func (*GIT) DeleteTag ¶ func (g *GIT) DeleteTag(name string) error func (*GIT) GetLogs ¶ func (g *GIT) GetLogs() ([]Log, error) func (*GIT) GetTags ¶ func (g *GIT) GetTags() ([]Tag, error) type Log ¶ type Log struct { Commit string Subject string Date time.Time Tag string } type Option ¶ type Option func(*execOptions) func Args ¶ func Args(args ...string) Option func Env ¶ func Env(env ...string) Option type Tag ¶ type Tag struct { Name string Hash string Subject string Date time.Time } Source Files ¶ View all Source files git.go Click to show internal directories. Click to hide internal directories.