Documentation
¶
Index ¶
- Variables
- func GenerateCommit(czCommit *CzCommit) string
- func GitCommit(commit string) (err error)
- func GitCz()
- func Init()
- func InputBody(line *liner.State) *string
- func InputBreakingChange(line *liner.State) *string
- func InputCloses(line *liner.State) *string
- func InputScope(line *liner.State) *string
- func InputSubject(line *liner.State) *string
- func NewLine()
- type CzCommit
- type CzType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( InputTypePrompt = "选择或输入一个提交类型(必填): " InputScopePrompt = "说明本次提交的影响范围(必填): " InputSubjectPrompt = "对本次提交进行简短描述(必填): " InputBodyPrompt = "对本次提交进行完整描述(选填): " InputBreakingChangePrompt = "如果当前代码版本与上一版本不兼容,对变动、变动的理由及迁移的方法进行描述(选填): " InputClosesPrompt = "如果本次提交针对某个issue,列出关闭的issues(选填): " )
View Source
var CzTypeList []CzType
Functions ¶
func GenerateCommit ¶
func InputBreakingChange ¶
func InputCloses ¶
func InputScope ¶
func InputSubject ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.