Versions in this module Expand all Collapse all v1 v1.0.0 Apr 3, 2026 Changes in this version + func GenerateSecretKey() (string, error) + type Column struct + DataType DataType + Name string + Values []interface{} + type DataType int + const TypeAddress + const TypeCreditCard + const TypeEmail + const TypeGeneric + const TypeName + const TypePhone + const TypeSSN + type Deidentifier struct + func NewDeidentifier(secretKey string) *Deidentifier + func (d *Deidentifier) Address(address string) (string, error) + func (d *Deidentifier) ClearMappings() + func (d *Deidentifier) CreditCard(cc string) (string, error) + func (d *Deidentifier) Email(email string) (string, error) + func (d *Deidentifier) Name(name string) (string, error) + func (d *Deidentifier) Phone(phone string) (string, error) + func (d *Deidentifier) SSN(ssn string) (string, error) + func (d *Deidentifier) Slices(data [][]string, optional ...interface{}) ([][]string, error) + func (d *Deidentifier) Table(table *Table) (*Table, error) + func (d *Deidentifier) Text(text string, opts ...TextOptions) (string, error) + type Table struct + Columns []Column + type TextOptions struct + SkipAddresses bool + SkipCreditCards bool + SkipEmails bool + SkipNames bool + SkipPhones bool + SkipSSNs bool