Documentation
¶
Index ¶
Constants ¶
View Source
const CommitMessagePattern = `^(?:fixup!\s*)?(\w*)(\(([\w\$\.\*/-].*)\))?\: (.*)|^Merge\ branch(.*)`
View Source
const CommitTpl = `{{ .Type }}({{ .Scope }}): {{ .Subject }}
{{ .Body }}
{{ .Footer }}
{{ .Sob }}
`
View Source
const GitCmd = "git"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommitType ¶
type CommitType string
const ( FEAT CommitType = "feat" FIX CommitType = "fix" DOCS CommitType = "docs" STYLE CommitType = "style" REFACTOR CommitType = "refactor" TEST CommitType = "test" CHORE CommitType = "chore" PERF CommitType = "perf" HOTFIX CommitType = "hotfix" EXIT CommitType = "exit" )
Click to show internal directories.
Click to hide internal directories.