Documentation
¶
Index ¶
- Constants
- func NewOperation(opts ...OperationOpt) *operation
- func RegExpFromAttributeFormat(attributeFormat string) *regexp.Regexp
- func RegExpsFromAttributeFormat(attributeFormat string) (*regexp.Regexp, *regexp.Regexp)
- func WithFuncPrefix(fn func(string) string) func(o *operation)
- func WithStringPrefix(prefix string) func(setter *operation)
- type Mutator
- type OperationOpt
- type Parser
Constants ¶
View Source
const (
DefAttributeNameFormat = `("[A-Za-z_]+[A-Za-z0-9_./-]*"|[A-Za-z_]+[A-Za-z0-9_/-]*)`
)
Variables ¶
This section is empty.
Functions ¶
func NewOperation ¶
func NewOperation(opts ...OperationOpt) *operation
func WithFuncPrefix ¶
func WithStringPrefix ¶
func WithStringPrefix(prefix string) func(setter *operation)
Types ¶
type OperationOpt ¶
type OperationOpt func(opt *operation)
Click to show internal directories.
Click to hide internal directories.