random

package
v1.2.15 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AlphaNumericVerify added in v1.2.15

func AlphaNumericVerify(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 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 URLSafeString

func URLSafeString(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