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 list of number to mask randomly
func NewMask ¶
func NewMask(min int, max int, seed int64) MaskEngine
NewMask create a MaskEngine with a seed
func (MaskEngine) Mask ¶
func (rim MaskEngine) Mask(e model.Entry, context ...model.Dictionary) (model.Entry, error)
Mask choose a mask int randomly within boundary
Click to show internal directories.
Click to hide internal directories.