Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Factory ¶
func Factory(conf model.MaskFactoryConfiguration) (model.MaskEngine, bool, error)
Create a mask from a configuration
Types ¶
type MaskEngine ¶
type MaskEngine struct { DateMin time.Time DateMax time.Time // contains filtered or unexported fields }
MaskEngine is a struct to mask the date
func (MaskEngine) Mask ¶
func (dateRange MaskEngine) Mask(e model.Entry, context ...model.Dictionary) (model.Entry, error)
Mask choose a mask date randomly
Click to show internal directories.
Click to hide internal directories.