Documentation ¶
Overview ¶
Package prepared introduces prepared template interface. The interface is moved in the separate package to avoid circular references between `ataman` and `generic` packages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Template ¶
type Template interface { fmt.Stringer // Format formats the pre-rendered template. Format(args ...interface{}) string }
Template is a pre-rendered template which implements fmt.Stringer interface so it can be easily used in printing. Using of the interface may save time by avoiding parsing and rendering the same template many times.
Click to show internal directories.
Click to hide internal directories.