Documentation ¶ Index ¶ func CheckCommitMessage(args []string) func Commit(cm *Message) func GenSOB() string func InputBody() string func InputFooter() string func InputScope() string func InputSubject() string func SelectCommitType() consts.CommitType type Message type TypeMessage Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func CheckCommitMessage ¶ func CheckCommitMessage(args []string) func Commit ¶ func Commit(cm *Message) 提交 func GenSOB ¶ func GenSOB() string 生成 SOB 签名 func InputBody ¶ func InputBody() string 输入完整提交信息 func InputFooter ¶ func InputFooter() string 输入提交关联信息 func InputScope ¶ func InputScope() string 输入影响范围 func InputSubject ¶ func InputSubject() string 输入提交主题 func SelectCommitType ¶ func SelectCommitType() consts.CommitType 选择提交类型 Types ¶ type Message ¶ type Message struct { Type consts.CommitType Scope string Subject string Body string Footer string Sob string } type TypeMessage ¶ type TypeMessage struct { Type consts.CommitType ZHDescription string ENDescription string } Source Files ¶ View all Source files ci.gocm.go Click to show internal directories. Click to hide internal directories.