Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Currency ¶
func Currency() string
Currency generates a random currency code. It will panic if the system's secure random number generator fails to function correctly, in which case the caller should not continue.
func Email ¶
func Email() string
Email generates a random email. It will panic if the system's secure random number generator fails to function correctly, in which case the caller should not continue.
func Int ¶
Int generates a random integer between 0 and max. It will panic if the system's secure random number generator fails to function correctly, in which case the caller should not continue.
func Money ¶
func Money() int64
Money generates a random amount of money between 0 and 1000. It will panic if the system's secure random number generator fails to function correctly, in which case the caller should not continue.
Types ¶
This section is empty.