rand

package
v0.0.0-...-05abc1f Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Address uint64
)

Functions

func GetNonceString

func GetNonceString(n int) string

func GetNormalTimestampRandString

func GetNormalTimestampRandString() string

func GetRandFloat32

func GetRandFloat32() float32

func GetRandFloat64

func GetRandFloat64() float64

func GetRandInt

func GetRandInt(min int, max int) int

[min,max)

func GetRandInt32

func GetRandInt32(min int32, max int32) int32

[min,max)

func GetRandInt64

func GetRandInt64(min int64, max int64) int64

[min,max)

func GetRandStringWithTimestamp

func GetRandStringWithTimestamp(epochTime int64) string

func GetShortTimestampRandString

func GetShortTimestampRandString() string

func GetShortTimestampSequenceNo

func GetShortTimestampSequenceNo() uint64

func ParseShortTimestampRandString

func ParseShortTimestampRandString(str string) (int64, uint64, int64)

Types

This section is empty.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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