random

package
v1.2.22 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllString added in v1.2.18

func AllString(size int) string

func AlphaNumericString added in v1.2.18

func AlphaNumericString(size int) string

func AlphaNumericVerify added in v1.2.15

func AlphaNumericVerify(size int) string

func AlphaString added in v1.2.18

func AlphaString(size int) string

func AlphaVerify added in v1.2.15

func AlphaVerify(size int) string

func FileNameString added in v1.1.4

func FileNameString(ext string) string

func ID added in v1.1.4

func ID() string

func IDString

func IDString(size int) string

func Integer added in v1.2.9

func Integer(size int) string

Integer size = 1 -> 0~9 size = 2 -> 10~99 size = 3 -> 100~999 ... size = n -> 10^(n-1) ~ 10^(n)-1 or only byte + '0'

func LowerCaseString added in v1.2.18

func LowerCaseString(size int) string

func NumericString added in v1.2.18

func NumericString(size int) string

func NumericVerify added in v1.2.15

func NumericVerify(size int) string

func Password added in v1.1.4

func Password() string

func PasswordString

func PasswordString(size int) string

func SymbolString added in v1.2.18

func SymbolString(size int) string

func URLSafeString

func URLSafeString(size int) string

func UpperCaseString added in v1.2.18

func UpperCaseString(size int) string

Types

This section is empty.

Directories

Path Synopsis
v2
Package mockv2 was generated
Package mockv2 was generated

Jump to

Keyboard shortcuts

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