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 "time" namespace.
func New ¶
func New() *Namespace
New returns a new instance of the time-namespaced template functions.
func (*Namespace) AsTime ¶
AsTime converts the textual representation of the datetime string into a time.Time interface.
Click to show internal directories.
Click to hide internal directories.