Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultFuncMap = map[string]ConverterFunc{
"date": convertDate,
"draft": convertDraft,
}
Functions ¶
This section is empty.
Types ¶
type Converter ¶
type Converter struct { FuncMap map[string]ConverterFunc // contains filtered or unexported fields }
func NewConverter ¶
type ConverterFunc ¶
type ConverterFunc func(string) interface{}
Click to show internal directories.
Click to hide internal directories.