package
0.0.0-20151127160953-75d2a66b1c78
Repository: https://github.com/springcat/go_utils.git
Documentation: pkg.go.dev

# Functions

AlphaString returns a random alphanumeric string n characters long.
AlphaRange returns a random alphanumeric string at least min and no more than max characters long.
ChoiceInt returns a random selection from an array of integers.
ChoiceString returns a random selection from an array of strings.
IntRange returns a random integer in the range from min to max.
String returns a random string n characters long, composed of entities from charset.
StringRange returns a random string at least min and no more than max characters long, composed of entitites from charset.
WeightedChoice used weighted random selection to return one of the supplied choices.

# Constants

Set of characters to use for generating random strings.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author

# Structs

A Choice contains a generic item and a weight controlling the frequency with which it will be selected.