Documentation ¶
Index ¶
- func GetRandomBool(trueProb float64) (bool, error)
- func GetRandomEmails(len int) ([]string, error)
- func NanoString(length int) (string, error)
- func PrepareProbability(in float64) float64
- func RandEmail() (string, error)
- func RandFloat64(max float64) (float64, error)
- func RandFloat64InRange(min, max float64) (float64, error)
- func RandFloat64Norm(stdDev, mean float64) (float64, error)
- func RandFloat64NormInRange(min, max, stdDev, mean float64) (float64, error)
- func RandInt(max int) (int, error)
- func RandIntInRange(min int, max int) (int, error)
- func RandString(len int) (string, error)
- func UUID() uuid.UUID
- func UUIDString() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRandomBool ¶
func GetRandomEmails ¶ added in v0.2.3
func NanoString ¶ added in v0.2.3
func PrepareProbability ¶
func RandFloat64 ¶
func RandFloat64InRange ¶
func RandFloat64Norm ¶
RandFloat64Norm stdDev -standart deviation - σ^2; default = 1 mean - μ (In probability theory, the expected value is a generalization of the weighted average.); default = 0
func RandFloat64NormInRange ¶
func RandString ¶ added in v0.2.3
func UUIDString ¶
func UUIDString() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.