add

package
v1.16.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 7, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Factory

Create a mask from a configuration

Types

type MaskEngine

type MaskEngine struct {
	// contains filtered or unexported fields
}

MaskEngine is a value that will be the initialisation of the field when it's created

func NewMask

func NewMask(value model.Entry, tmpl tmpl.FuncMap, seed int64, seedField string) (MaskEngine, error)

NewMask return a MaskEngine from a value

func (MaskEngine) MaskContext

func (am MaskEngine) MaskContext(context model.Dictionary, key string, contexts ...model.Dictionary) (model.Dictionary, error)

MaskContext add the field

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL