10 lines
126 B
Go
10 lines
126 B
Go
|
package gen
|
||
|
|
||
|
import "text/template"
|
||
|
|
||
|
var funcs = template.FuncMap{
|
||
|
"firstchar": func(s string) string {
|
||
|
return s[:1]
|
||
|
},
|
||
|
}
|