Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Based on https://www.conventionalcommits.org/ // TODO allow config to choose between these lists TypeConventionalCommit []CommitType = []CommitType{ CommitTypeFix, CommitTypeFeat, } // Based on https://github.com/angular/angular.js/blob/master/DEVELOPERS.md#type TypeAngular []CommitType = []CommitType{ CommitTypeFix, CommitTypeFeat, CommitTypeDocs, CommitTypeStyle, CommitTypeRefactor, CommitTypePerf, CommitTypeTest, CommitTypeChore, } )
Functions ¶
This section is empty.
Types ¶
type Commit ¶
type Commit struct { Type CommitType Scope string Description string IsBreakingChange bool }
type CommitType ¶
type CommitType string
const ( CommitTypeFix CommitType = "fix" CommitTypeFeat CommitType = "feat" CommitTypeDocs CommitType = "docs" CommitTypeStyle CommitType = "style" CommitTypeRefactor CommitType = "refactor" CommitTypePerf CommitType = "perf" CommitTypeTest CommitType = "test" CommitTypeChore CommitType = "chore" )
func (CommitType) String ¶
func (c CommitType) String() string
Click to show internal directories.
Click to hide internal directories.