mirror of
https://github.com/git-chglog/git-chglog.git
synced 2026-01-23 10:25:24 +00:00
apply go fmt
This commit is contained in:
parent
72fb3eac14
commit
0a4450abc1
2 changed files with 7 additions and 7 deletions
|
|
@ -116,8 +116,8 @@ func CreateApp(actionFunc cli.ActionFunc) *cli.App {
|
|||
|
||||
// no-case
|
||||
cli.BoolFlag{
|
||||
Name: "no-case",
|
||||
Usage: "disable case sensitive filters",
|
||||
Name: "no-case",
|
||||
Usage: "disable case sensitive filters",
|
||||
},
|
||||
|
||||
// tag-filter-pattern
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ var (
|
|||
|
||||
type typeSample struct {
|
||||
typeName string
|
||||
title string
|
||||
title string
|
||||
}
|
||||
|
||||
// CommitMessageFormat ...
|
||||
|
|
@ -115,7 +115,7 @@ var (
|
|||
patternMaps: []string{"Type", "Scope", "Subject"},
|
||||
typeSamples: []typeSample{
|
||||
{"feat", "Features"}, {"fix", "Bug Fixes"},
|
||||
{"perf", "Performance Improvements"}, {"refactor", "Code Refactoring"},},
|
||||
{"perf", "Performance Improvements"}, {"refactor", "Code Refactoring"}},
|
||||
}
|
||||
fmtTypeSubject = &CommitMessageFormat{
|
||||
display: "<type>: <subject>",
|
||||
|
|
@ -124,7 +124,7 @@ var (
|
|||
patternMaps: []string{"Type", "Subject"},
|
||||
typeSamples: []typeSample{
|
||||
{"feat", "Features"}, {"fix", "Bug Fixes"},
|
||||
{"perf", "Performance Improvements"}, {"refactor", "Code Refactoring"},},
|
||||
{"perf", "Performance Improvements"}, {"refactor", "Code Refactoring"}},
|
||||
}
|
||||
fmtGitBasic = &CommitMessageFormat{
|
||||
display: "<<type> subject>",
|
||||
|
|
@ -133,7 +133,7 @@ var (
|
|||
patternMaps: []string{"Subject", "Type"},
|
||||
typeSamples: []typeSample{
|
||||
{"feat", "Features"}, {"fix", "Bug Fixes"},
|
||||
{"perf", "Performance Improvements"}, {"refactor", "Code Refactoring"},},
|
||||
{"perf", "Performance Improvements"}, {"refactor", "Code Refactoring"}},
|
||||
}
|
||||
fmtSubject = &CommitMessageFormat{
|
||||
display: "<subject>",
|
||||
|
|
@ -149,7 +149,7 @@ var (
|
|||
patternMaps: []string{"Type", "Subject"},
|
||||
typeSamples: []typeSample{
|
||||
{"sparkles", "Features"}, {"bug", "Bug Fixes"},
|
||||
{"zap", "Performance Improvements"}, {"recycle", "Code Refactoring"},},
|
||||
{"zap", "Performance Improvements"}, {"recycle", "Code Refactoring"}},
|
||||
}
|
||||
formats = []Previewable{
|
||||
fmtTypeScopeSubject,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue