Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MaskEngine ¶
type MaskEngine struct {
// contains filtered or unexported fields
}
MaskEngine is a value that mask thanks to a regular expression
func NewMask ¶
func NewMask(exp string, seed int64) (MaskEngine, error)
NewMask return a RegexMask from a regexp
func (MaskEngine) Mask ¶
func (rm MaskEngine) Mask(e model.Entry, context ...model.Dictionary) (model.Entry, error)
Mask returns a string thanks to a regular expression
Click to show internal directories.
Click to hide internal directories.