Versions in this module Expand all Collapse all v1 v1.0.1 Nov 27, 2023 Changes in this version + var Funcs = map[string]interface + var SafeFuncs = map[string]interface + func Append(s, append interface{}) (string, error) + func Chomp(s interface{}) (string, error) + func Combine(funcmaps ...map[string]interface{}) template.FuncMap + func Contains(s, substr interface{}) (bool, error) + func ContainsAny(s, chars interface{}) (bool, error) + func DecodeBase64(s interface{}) (string, error) + func EncodeBase64(s interface{}) (string, error) + func EncodeJSON(v interface{}) (template.HTML, error) + func FileExists(name interface{}) (bool, error) + func Getenv(key interface{}) (string, error) + func HTMLEscape(s interface{}) (string, error) + func HTMLUnescape(s interface{}) (string, error) + func HasPrefix(s interface{}, prefix string) (bool, error) + func HasSuffix(s interface{}, suffix string) (bool, error) + func Indent(s interface{}, n int) (string, error) + func MD5(s interface{}) (string, error) + func NIndent(s interface{}, n int) (string, error) + func Now() time.Time + func PadLeft(s, padding interface{}, n int) (string, error) + func PadRight(s, padding interface{}, n int) (string, error) + func Prepend(s, prepend interface{}) (string, error) + func ReadDir(dirname interface{}) ([]os.FileInfo, error) + func ReadFile(filename interface{}) ([]byte, error) + func Replace(s, old, new interface{}) (string, error) + func SHA1(s interface{}) (string, error) + func SHA256(s interface{}) (string, error) + func Split(s interface{}, sep string) ([]string, error) + func SplitN(s interface{}, sep string, n int) ([]string, error) + func Time(v interface{}, args ...interface{}) (interface{}, error) + func TimeFormat(layout string, v interface{}) (string, error) + func ToLower(s interface{}) (string, error) + func ToTitle(s interface{}) (string, error) + func ToUpper(s interface{}) (string, error) + func ToYAML(s interface{}) (string, error) + func Trim(s interface{}) (string, error) + func TrimLeft(s interface{}, custet string) (string, error) + func TrimPrefix(s interface{}, prefix string) (string, error) + func TrimRight(s interface{}, custet string) (string, error) + func TrimSuffix(s interface{}, suffix string) (string, error) + func Urlize(s interface{}) (string, error)