import "github.com/go-passwd/randomstring"
https://go-passwd.github.io/randomstring.html
Returns a length of a string to generate.
NewLength(n uint)
Sets string length to n.
NewLengthRange(min, max uint)
Sets string length to length between min and max
Modify a charset and returns it.
NewIncludeCharset(chars string)
Add chars to charset.
NewExcludeCharset(chars string)
Removes chars from charset.
NewBeginWith(letters string)
Checks if newly selected at random char does start with a one of letters. Function only executed at first char.
NewNoDuplicateCharacters()
Checks if string doesn't have newly selected at random char.
NewNoSequentialCharacters(n uint)
Checks if string doesn't have n sequentials characters.
Generates a new string based on: charset, length and output rules.
NewDefaultGenerate()
Simple random string generator.