Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Commit ¶
func Commit(commit CommitMessage)
Commit runs `git commit` and returns the output/error strings
Types ¶
type CommitMessage ¶
CommitMessage type
func (CommitMessage) Format ¶
func (c CommitMessage) Format() string
Format outputs Conventional Commits spec friendly commit message To keep it simple; I ignored the breaking changes segment. I think using the CLI to write breaking changes is hard, so, you will propably write the commit Message using an editor instead. Ref: https://conventionalcommits.org
Click to show internal directories.
Click to hide internal directories.