minitmpl/functions/functions.go

15 lines
200 B
Go

package functions
import "html/template"
func FuncMap() template.FuncMap {
return template.FuncMap{
"title": Title,
"split": Split,
"domain": GetDomainName,
"genpw": GenPassword,
}
}