Documentation ¶
Overview ¶
Package random for creating random strings Ref. https://www.oschina.net/code/snippet_170216_50650
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Characters ¶
Characters will generate a random string
Types ¶
type Category ¶
type Category int
Category represents the type of random output
const ( // Number represents all outputs will be numbers Number Category = iota // LowerCase represents all outputs will contain characters in lower case LowerCase // UpperCase represents all outputs will contain characters in upper case UpperCase // AllCase represents all outputs will contain characters in any case AllCase )
Click to show internal directories.
Click to hide internal directories.