Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 356 Bytes

random.md

File metadata and controls

20 lines (14 loc) · 356 Bytes

random

-- import "github.com/andy-zhangtao/gogather/random"

Usage

func GetRandom

func GetRandom(length int) string

GetRandom 获取指定长度的随机数字字符串 length 字符串长度

func GetString

func GetString(size int) string

GetString 获取指定长度的随机字符串 size 字符串的长度