package
0.0.2-migrate-evm
Repository: https://github.com/scalarorg/scalar-core.git
Documentation: pkg.go.dev

# Functions

AlphaNumericStrBetween returns a random alphanumeric string of random length in the given limits (inclusive).
AlphaNumericStrings returns a random string generator that produces strings from the alphanumeric characters of random length in the given limits (inclusive).
AlphaStrBetween returns a random alphabetical string of random length in the given limits (inclusive).
AlphaStrings returns a random string generator that produces strings from the alphabetical characters of random length in the given limits (inclusive).
Bools returns a random bool generator that adheres to the given ratio of true to false values.
Bytes returns a random slice of bytes of the specified length.
BytesBetween returns a random byte slice of random length in the given limits (upper exclusive).
Distr generates a new probability distribution with n states of random probability.
HexStr returns a random hex string of given length.
HexStrings returns a random hex string generator that produces hex strings with given length.
I64Between returns a random integer between lower (inclusive) and upper (exclusive).
I64GenBetween returns a random integer generator for numbers between lower (inclusive) and upper (exclusive).
PInt64Gen returns a random integer generator for positive integers.
PosI64 returns a positive pseudo-random integer.
Sample returns a new slice with a uniform sample of elements from the source slice.
Str returns a random string of given length.
StrBetween returns a random string of random length in the given limits (inclusive).
Strings returns a random string generator that produces strings from the default alphabet of random length in the given limits (inclusive).
Time generates a random time.

# Structs

BoolGen represents an random bool generator.
DistinctStrGen represents an random string generator which returns distinct strings.
DistrGen represents a probability distribution that can be sampled.
I64Gen represents an random integer generator to generate a sequence of integers with the same properties.
StringGen represents an random string generator.