mirror of
https://gitea.plemya-x.ru/Plemya-x/ALR.git
synced 2025-01-10 17:26:45 +00:00
13 lines
171 B
Go
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]
|
|
},
|
|
}
|