Documentation
¶
Index ¶
Constants ¶
View Source
const ( BOOLEAN_TYPE_TRUE_FALSE string = "true_false" BOOLEAN_TYPE_NUMERIC string = "numeric" BOOLEAN_TYPE_YES_NO string = "yes_no" )
Boolean type constants
View Source
const ( STRING_TYPE_HEX string = "hex" STRING_TYPE_ASCII string = "ascii" STRING_TYPE_BASE_64 string = "base64" STRING_TYPE_NUMBERS string = "numbers" STRING_TYPE_LETTERS string = "letters" STRING_TYPE_EXTENDED string = "extended" )
String type constants
View Source
const ( ID_TYPE_UUID4 = "uuidv4" ID_TYPE_UUID7 = "uuidv7" ID_TYPE_NANO = "nanoid" )
View Source
const DEFAULT_DELIMITER = " "
View Source
const DEFAULT_STRING_LENGTH = 20
Variables ¶
View Source
var ( ASCII_LETTERS = []rune("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ") NUMBERS = []rune("0123456789") HEX_DIGITS = []rune("0123456789abcdef") )
Possible string values
View Source
var CountFlag = &cli.IntFlag{ Name: "count", Aliases: []string{"c"}, Value: 1, Usage: "Number of random strings to display", }
View Source
var Err = color.New(color.FgRed)
View Source
var ID_TYPES = []string{ ID_TYPE_UUID4, ID_TYPE_UUID7, ID_TYPE_NANO, }
View Source
var STRING_TYPES = []string{ STRING_TYPE_HEX, STRING_TYPE_ASCII, STRING_TYPE_NUMBERS, STRING_TYPE_LETTERS, STRING_TYPE_EXTENDED, STRING_TYPE_BASE_64, }
View Source
var Std = log.New(os.Stdout, "", 0)
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.