Documentation ¶
Overview ¶
* * @Author: TheLife * @Date: 2020-2-25 9:00 下午
Index ¶
- Constants
- func Float32(min float32, max float32) float32
- func Int(min int, max int) int
- func Ints(from, to, size int) []int
- func RandStringDigit(n int) string
- func RandStringWordC(n int) string
- func RandStringWordL(n int) string
- func RandStringWordU(n int) string
- func RandomString(n int) string
- func String(seed string, length int) string
Constants ¶
View Source
const SeedAll = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
View Source
const SeedNum = "0123456789"
Variables ¶
This section is empty.
Functions ¶
func RandStringDigit ¶
func RandStringWordC ¶
func RandStringWordL ¶
func RandStringWordU ¶
func RandomString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.