Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultLeftDelimiter is the default left-hand delimeter that will be used for the templates DefaultLeftDelimiter = "${" // DefaultRightDelimiter is the default right-hand delimeter that will be used for the templates DefaultRightDelimiter = "}" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Templater ¶
type Templater struct {
// contains filtered or unexported fields
}
Templater is used to hold the delimeters used to configure the template engine
func NewTemplater ¶
NewTemplater initializes a new templater object
func (Templater) EnvTemplate ¶
EnvTemplate interpolates environment variables in a configuration text
func (Templater) IsGoTemplate ¶
IsGoTemplate returns true if s is probably a Go Template
Click to show internal directories.
Click to hide internal directories.