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 to mask a value thanks to a template
func NewMask ¶
func NewMask(text string, itemName string, indexName string) (MaskEngine, error)
NewMask create a MaskEngine
func (MaskEngine) MaskContext ¶
func (tmpl MaskEngine) MaskContext(context model.Dictionary, key string, contexts ...model.Dictionary) (model.Dictionary, error)
Mask masks a value with a template
Click to show internal directories.
Click to hide internal directories.