Documentation ¶
Index ¶
- func GetAge(birthDate time.Time) int
- func GetAgeAt(birthDate, now time.Time) int
- func GetDate(year, month, day int) time.Time
- func GetRandomBirthDateByAge(age int) time.Time
- func GetRandomBirthDateByAgeRange(fromAge, toAge int) time.Time
- func GetRandomBirthDateByAgeRangeAt(fromAge, toAge int, now time.Time) time.Time
- func LoadData(filepath string) error
- func Random(p *models.Person)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRandomBirthDateByAge ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.