def

package
v0.0.0-...-156932d Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContactInfo

type ContactInfo struct {
	Mobile string `fuzz:"length(7,11)"`
	Home   string `fuzz:"length(7,11)"`
	Work   string `fuzz:"length(7,11)"`
	Email  string `fuzz:"length(10,64)"`
}

type Education

type Education struct {
	School string `fuzz:"length(8,16)"`
	From   string `fuzz:"date(2006-01-02)"`
	To     string `fuzz:"date(2006-01-02)"`
}

type Person

type Person struct {
	Name        string      `fuzz:"length(8,32)"`
	Age         int         `fuzz:"range(1,100)"`
	Address     string      `fuzz:"length(20,60)"`
	Education   []Education `fuzz:"length(4)"`
	ContactInfo ContactInfo

	XXXX string `fuzz:"ignore"`
}

Jump to

Keyboard shortcuts

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