Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInitialize = errors.New("non initializable")
View Source
var ErrRegexParse = errors.New("regex parse error")
Functions ¶
This section is empty.
Types ¶
type NamedRegexp ¶
NamedRegexp is a regexp type but has extra functions to find the named matching substrings
func (*NamedRegexp) FindStringSubmatchMap ¶
func (r *NamedRegexp) FindStringSubmatchMap(s string) map[string]string
FindStringSubmatchMap returns the map{name: foundString} from regexp
type NamedRegexpTransformer ¶
type NamedRegexpTransformer struct { Name string From NamedRegexp To string }
func NewNamedRegexpTransformer ¶
func NewNamedRegexpTransformer(name string, from string, to string) (NamedRegexpTransformer, error)
type NilTransformer ¶
type NilTransformer struct { }
func NewNilTransformer ¶
func NewNilTransformer() NilTransformer
type Transformer ¶
Click to show internal directories.
Click to hide internal directories.