fixtures

package
v0.0.0-...-7f64e33 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RandomAddress

func RandomAddress() person.Address

RandomAddress picks a random address from a short list.

func RandomAdult

func RandomAdult(gender person.Gender) person.Person

RandomAdult invents a person who is at least 18 years old.

func RandomChild

func RandomChild(gender person.Gender) person.Person

RandomChild invents a person who is less than 18 years old.

func RandomGender

func RandomGender() person.Gender

func RandomMaleOrFemale

func RandomMaleOrFemale() person.Gender

Types

This section is empty.

Jump to

Keyboard shortcuts

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