0
0
Fork 0
mirror of https://gitea.plemya-x.ru/Plemya-x/ALR.git synced 2025-01-10 17:26:45 +00:00
ALR/pkg/gen/funcs.go
Евгений Храмов bb8e6e79b2 Initial commit
2024-01-22 13:36:06 +03:00

13 lines
171 B
Go

package gen
import (
"strings"
"text/template"
)
var funcs = template.FuncMap{
"tolower": strings.ToLower,
"firstchar": func(s string) string {
return s[:1]
},
}