Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateRandomCode ¶
func GenerateRandomCode(length int, codeType RandomCodeType) string
Types ¶
type RandomCodeType ¶
type RandomCodeType string
const ( RandomCodeTypeOnlyNumbers RandomCodeType = "only_numbers" RandomCodeTypeOnlyLetters RandomCodeType = "only_letters" RandomCodeTypeLettersAndNumbers RandomCodeType = "letters_and_numbers" )
Click to show internal directories.
Click to hide internal directories.