Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Namespace ¶
type Namespace struct { }
Namespace provides template functions for the "cast" namespace.
func New ¶
func New() *Namespace
New returns a new instance of the cast-namespaced template functions.
func (*Namespace) ToFloat ¶ added in v0.30.1
ToFloat converts the given value to a float.
func (*Namespace) ToInt ¶
ToInt converts the given value to an int.
Click to show internal directories.
Click to hide internal directories.