Documentation ¶
Index ¶
- Constants
- func GeneratePno(dateFlag, countryFlag, genderFlag, formatFlag string) (string, error)
- func GenerateStr[I string, O string](flag I, getFunc func(I) (O, error), getRandomFunc func() (O, error)) (O, error)
- func GetChecksum(date, country, gender string) (string, error)
- func GetCountry(country string) (string, error)
- func GetDate(date string) (string, error)
- func GetFormat(formatFlag, date, country, gender, checksum string) (string, error)
- func GetGenderNumber(gender string) (string, error)
- func GetRandomCountry() (string, error)
- func GetRandomDate() (string, error)
- func GetRandomGenderNumber() (string, error)
- func GetShortDate(date string) string
Constants ¶
View Source
const DATE_FORMAT = "20060102"
Variables ¶
This section is empty.
Functions ¶
func GeneratePno ¶
func GenerateStr ¶
func GetChecksum ¶
func GetCountry ¶
func GetGenderNumber ¶
func GetRandomCountry ¶
func GetRandomDate ¶
func GetRandomGenderNumber ¶
func GetShortDate ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.