File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Parser
22
3- A simple go parser for [ Conventional Commits] ( https://www.conventionalcommits.org/en/v1.0.0/ )
3+ go parser for [ Conventional Commits] ( https://www.conventionalcommits.org/en/v1.0.0/ )
44
55[ ![ PkgGoDev] ( https://pkg.go.dev/badge/github.com/conventionalcommit/parser )] ( https://pkg.go.dev/github.com/conventionalcommit/parser )
66
@@ -13,7 +13,7 @@ this is first line in body
1313
1414this is second line in body
1515
16- Ref: #123
16+ Ref #123
1717Date: 01-01-2021
1818By: John Doe`
1919
@@ -36,7 +36,7 @@ commitMsg = &parser.Commit{
3636 Notes: []parser.FooterNote{
3737 parser.FooterNote{
3838 Token: "Ref",
39- Value: "# 123",
39+ Value: "123",
4040 },
4141 parser.FooterNote{
4242 Token: "Date",
@@ -47,10 +47,10 @@ commitMsg = &parser.Commit{
4747 Value: "John Doe",
4848 },
4949 },
50- FullFooter: "Ref: #123\nDate: 01-01-2021\nBy: John Doe",
50+ FullFooter: "Ref #123\nDate: 01-01-2021\nBy: John Doe",
5151 },
5252 BreakingChange: false,
53- FullCommit: "feat(scope): description\n\nthis is first line in body\n\nthis is second line in body\n\nRef: #123\nDate: 01-01-2021\nBy: John Doe",
53+ FullCommit: "feat(scope): description\n\nthis is first line in body\n\nthis is second line in body\n\nRef #123\nDate: 01-01-2021\nBy: John Doe",
5454}
5555*/
5656```
You can’t perform that action at this time.
0 commit comments