Documentation
¶
Index ¶
- func CheckTemplate(tmpl string) error
- func DetectCommand(log []git.LogEntry) (Command, Match)
- func DetectIncrement(log []git.LogEntry) (Increment, Match)
- func TemplateFields() map[string]struct{}
- func TokenizeFields(data []byte, atEOF bool) (advance int, token []byte, err error)
- type Command
- type Increment
- type Match
- type Next
- type Options
- type Tag
- type UnknownTemplateFieldError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckTemplate ¶
func TemplateFields ¶
func TemplateFields() map[string]struct{}
Types ¶
type Tag ¶
type Tag struct { Prefix string SemVer string Version string Raw string Pre string Metadata string }
func (Tag) Prerelease ¶ added in v0.7.0
func (Tag) PrereleaseWithLabel ¶ added in v0.7.0
type UnknownTemplateFieldError ¶
type UnknownTemplateFieldError struct {
Field string
}
func (UnknownTemplateFieldError) Error ¶
func (e UnknownTemplateFieldError) Error() string
Click to show internal directories.
Click to hide internal directories.