Random
The Random registry provides functions to generate random numbers, strings, and other data types, useful for scenarios requiring randomness or unique identifiers.
Last updated
RandAlphaNumeric(count int) stringRandAlpha(count int) stringRandAscii(count int) stringRandNumeric(count int) string{{ randNumeric 10 }} // Output(will be different): "3269896295"RandBytes(count int) (string, error){{ randBytes 16 }} // Output(will be different): "c3RhY2thYnVzZSByb2NrcyE="RandInt(min, max int) int{{ randInt 1 10 }} // Output(will be different): 5