randomvalues

package
v1.0.42 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRandomBoolValue

func GetRandomBoolValue() bool

func GetRandomFloatValue

func GetRandomFloatValue() float64

func GetRandomIntValue

func GetRandomIntValue() int64

func GetRandomOptionValue

func GetRandomOptionValue[EnumType ~int64](max int) EnumType

func GetRandomOptionsValues

func GetRandomOptionsValues[EnumType ~int64](max int) []EnumType

func GetRandomRawJSONValue

func GetRandomRawJSONValue() string

func GetRandomRawJSONValuePtr added in v1.0.9

func GetRandomRawJSONValuePtr() *string

func GetRandomStringValue

func GetRandomStringValue() string

func GetRandomStringValuePtr added in v1.0.9

func GetRandomStringValuePtr() *string

func GetRandomTimeValue

func GetRandomTimeValue() time.Time

func GetRandomUUIDValue

func GetRandomUUIDValue() uuid.UUID

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL