randutils

package
v1.3.25 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRandomEncodedStringFromRange

func GetRandomEncodedStringFromRange(a, b int) string

GetRandomEncodedStringFromRange return the number returned by GetRandomStringFromRange() and encoded with Base32

func GetRandomString

func GetRandomString(i int) string

GetRandomString returns X character long random string.

func GetRandomStringFromRange

func GetRandomStringFromRange(a, b int) string

GetRandomStringFromRange generates random string of a random length. The random lenght is bounded by a and b.

func GetRandomStringFromRangeWithCharset

func GetRandomStringFromRangeWithCharset(a, b int, cs string) string

GetRandomStringFromRangeWithCharset generates random string of a random length. The random lenght is bounded by a and b. The charset is provided.

Types

This section is empty.

Jump to

Keyboard shortcuts

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