mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-03 00:57:52 +02:00
run go fmt against generator
This commit is contained in:
committed by
Jesse Duffield
parent
d5401ab200
commit
0dcfa09ff2
@ -24,7 +24,7 @@ func writeString(file *os.File, str string) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func getTitle(mApp *app.App ,viewName string) string {
|
func getTitle(mApp *app.App, viewName string) string {
|
||||||
viewTitle := strings.Title(viewName) + "Title"
|
viewTitle := strings.Title(viewName) + "Title"
|
||||||
translatedTitle := mApp.Tr.SLocalize(viewTitle)
|
translatedTitle := mApp.Tr.SLocalize(viewTitle)
|
||||||
formattedTitle := fmt.Sprintf("\n## %s\n\n", translatedTitle)
|
formattedTitle := fmt.Sprintf("\n## %s\n\n", translatedTitle)
|
||||||
|
Reference in New Issue
Block a user