From 72b0cb0f40b37fd85c2a13b4d2a6ce9ec801a638 Mon Sep 17 00:00:00 2001 From: George Robinson Date: Tue, 7 Mar 2023 11:25:20 +0000 Subject: [PATCH] Fix comments as per Josh's feedback (#3284) --- template/template.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/template/template.go b/template/template.go index 73035647..5172ba92 100644 --- a/template/template.go +++ b/template/template.go @@ -171,8 +171,8 @@ var DefaultFuncs = FuncMap{ "toUpper": strings.ToUpper, "toLower": strings.ToLower, "title": func(text string) string { - // casers should not be shared between goroutines, instead - // create a new caser each time this function is called + // Casers should not be shared between goroutines, instead + // create a new caser each time this function is called. return cases.Title(language.AmericanEnglish).String(text) }, "trimSpace": strings.TrimSpace,