Go library for parsing conventional commits
import github.com/wfscheper/convcom
Create a config struct to customize parser behavior.
cfg := &Config{}
p := convcom.New(cfg)
commitMessage := `fix(foo): fixed the foos
So many broken foos!
Fixes #7
`
c, err := p.Parse(commitMessage)
if err != nil {
return err
}
See godoc for full details.