utilsbp

package
v1.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 26, 2025 License: MIT Imports: 2 Imported by: 0

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"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL