Documentation ¶
Overview ¶
Package randompkg provides functionality gor generating random applications common items.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Float64 ¶
func Float64() float64
Float64 is a shortcut for generating a random float between 0 and 1 using crypto/rand.
func FloatBetween ¶
FloatBetween generates a random decimal number between min and max rounded to 4 decimals.
func IntBetween ¶
IntBetween generates a random integer between min and max.
func MoneyAmountBetween ¶
MoneyAmountBetween generates a random amount of money between min and max rounded to 4 decimals.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.