|
@@ -15,6 +15,11 @@ var FuncMap template.FuncMap = template.FuncMap{
|
|
"abbrev": abbrev,
|
|
"abbrev": abbrev,
|
|
"nbsp": nbsp,
|
|
"nbsp": nbsp,
|
|
"globFilter": globFilter,
|
|
"globFilter": globFilter,
|
|
|
|
+ "toUpper": toUpper,
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func toUpper(content string) string {
|
|
|
|
+ return strings.ToUpper(content)
|
|
}
|
|
}
|
|
|
|
|
|
func globFilter(pattern, content string) bool {
|
|
func globFilter(pattern, content string) bool {
|