Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultTokenizer = StringTokenizer(".")
DefaultTokenizer is a tokenizer using a dot or fullstop
Functions ¶
This section is empty.
Types ¶
type Map ¶
type Map struct { M map[string]interface{} // contains filtered or unexported fields }
Map is a flatten map
type StringTokenizer ¶
type StringTokenizer string
StringTokenizer is a Tokenizer using the string as separator
func (StringTokenizer) Keys ¶
func (s StringTokenizer) Keys(ks string) []string
Keys returns the keys contained in the received token
func (StringTokenizer) Separator ¶
func (s StringTokenizer) Separator() string
Separator returns the separator
func (StringTokenizer) Token ¶
func (s StringTokenizer) Token(ks []string) string
Token returns a token joining all the keys with s as separator
Click to show internal directories.
Click to hide internal directories.