Documentation ¶
Index ¶
- Constants
- Variables
- func Parse(file string, out interface{})
- func RandFloat() float32
- func RandFloat64() float64
- func RandInt(l int, h int) int
- func RandInt64(l int64, h int64) int64
- func RandMaskValue(mask string) string
- func SplitRange(rnge string) (int, int)
- func WindowRange(window string) time.Duration
- func Write(data interface{}, file string) error
- type Code
- type Configuration
Constants ¶
View Source
const ( MAX_AGE = 110 UPPER_INDEX = 65 LOWER_INDEX = 97 NANOS_PER_MINUTE = 60000000000 NANOS_PER_HOUR = 3600000000000 NANOS_PER_DAY = 86400000000000 NANOS_PER_WEEK = 604800000000000 NANOS_PER_MONTH = 2592000000000000 NANOS_PER_YEAR = 31556952000000000 )
Variables ¶
View Source
var AgeMap = make(map[float32]string)
View Source
var AgeMapKeys = make([]float32, 0)
View Source
var EthnicityMap = make(map[float32]string)
View Source
var EthnicityMapKeys = make([]float32, 0)
View Source
var GenderIdentityMap = make(map[float32]string)
View Source
var GenderIdentityMapKeys = make([]float32, 0)
View Source
var RaceMap = make(map[float32]string)
View Source
var RaceMapKeys = make([]float32, 0)
View Source
var SexualityMap = make(map[float32]string)
View Source
var SexualityMapKeys = make([]float32, 0)
Functions ¶
func RandFloat64 ¶
func RandFloat64() float64
func RandMaskValue ¶
func WindowRange ¶
Types ¶
type Configuration ¶
type Configuration struct {
Inherit []string `yaml:"inherit"`
}
Click to show internal directories.
Click to hide internal directories.