Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Based on https://www.conventionalcommits.org/ TypeConventionalCommit []CommitType = []CommitType{ CommitTypeFeat, CommitTypeFix, } // Based on https://github.com/angular/angular/blob/main/contributing-docs/commit-message-guidelines.md TypeAngular []CommitType = []CommitType{ CommitTypeBuild, CommitTypeCI, CommitTypeDocs, CommitTypeFeat, CommitTypeFix, CommitTypePerf, CommitTypeRefactor, CommitTypeStyle, CommitTypeTest, } )
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 ( CommitTypeBuild CommitType = "build" CommitTypeChore CommitType = "chore" CommitTypeCI CommitType = "ci" CommitTypeDocs CommitType = "docs" CommitTypeFeat CommitType = "feat" CommitTypeFix CommitType = "fix" CommitTypePerf CommitType = "perf" CommitTypeRefactor CommitType = "refactor" CommitTypeStyle CommitType = "style" CommitTypeTest CommitType = "test" )
func (CommitType) String ¶
func (c CommitType) String() string
type ScopeItem ¶ added in v1.2.1
func (ScopeItem) Description ¶ added in v1.2.1
func (ScopeItem) FilterValue ¶ added in v1.2.1
Click to show internal directories.
Click to hide internal directories.