Skip to content

Commit

Permalink
apply go fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Thierno IB. BARRY committed Apr 10, 2020
1 parent d330bce commit 0ea7662
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions cmd/git-chglog/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions cmd/git-chglog/variables.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ var (

type typeSample struct {
typeName string
title string
title string
}

// CommitMessageFormat ...
Expand Down Expand Up @@ -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>",
Expand All @@ -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>",
Expand All @@ -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>",
Expand All @@ -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,
Expand Down

0 comments on commit 0ea7662

Please sign in to comment.