generator

package
v0.0.0-...-53a7344 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateQuickCheckConfig

func GenerateQuickCheckConfig(maxCount int) *quick.Config

GenerateQuickCheckConfig get maxcount, default is 15

func GenerateRandomError

func GenerateRandomError() error

func GenerateRandomInt

func GenerateRandomInt() int

func GenerateRandomInts

func GenerateRandomInts() []int

func GenerateRandomString

func GenerateRandomString() string

GenerateRandomString returns a securely generated random string. It will return an error if the system's secure random number generator fails to function correctly, in which case the caller should not continue.

func GenerateRandomTimestamp

func GenerateRandomTimestamp() time.Time

RandomTimestamp return random time

Types

This section is empty.

Jump to

Keyboard shortcuts

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