yeeRand

package
v0.0.0-...-89bd919 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const LowerAlphaSeed = "abcdefghijklmnopqrstuvwxyz"
View Source
const NumSeed = "0123456789"
View Source
const Seed = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
View Source
const UpperAlphaSeed = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"

Variables

This section is empty.

Functions

func RandInt64Between

func RandInt64Between(min, max int64) int64

RandIntBetween return random int64 between two given int.

func RandIntBetween

func RandIntBetween(min, max int) int

RandIntBetween return random int between two given int.

func RandNum

func RandNum(length int) string

RandNum return the rand num string by given length.

func RandNumber

func RandNumber(start int, end int, count int) []int

RandNumber return no-repeat number by given start end and count[min,max).

func RandString

func RandString(length int) string

RandString return the rand string by given length.

Types

This section is empty.

Jump to

Keyboard shortcuts

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