Documentation ¶
Overview ¶
Package tplfunc implements functions avalilable inside templates
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Pager ¶
func Pager(args url.Values, count interface{}, argPrefix string, rowsMax, around, edge int64) *[]Page
Pager returns array with pagination links
func SetProtoFuncs ¶
SetProtoFuncs appends function templates and not related to request functions to funcs This func is not for use in templates
func SetRequestFuncs ¶
SetRequestFuncs appends funcs which return real data inside request processing This func is not for use in templates
func SetSimpleFuncs ¶
SetSimpleFuncs registers all prevoious funcs in given FuncMap This func is not for use in templates
Types ¶
Click to show internal directories.
Click to hide internal directories.