util

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenFixedLengthChineseChars

func GenFixedLengthChineseChars(length int) string

指定长度随机中文字符(包含复杂字符)

func GenOneChineseChars

func GenOneChineseChars() string

随机单个中文字符

func GenOneOddChar

func GenOneOddChar() string

随机单个复杂中文字符

func GenRandomLengthChineseChars

func GenRandomLengthChineseChars(start, end int) string

指定范围随机中文字符

func RandInt

func RandInt(min, max int) int

指定范围随机 int

func RandInt64

func RandInt64(min, max int64) int64

指定范围随机 int64

func RandStr

func RandStr(len int) string

随机英文小写字母

Types

This section is empty.

Jump to

Keyboard shortcuts

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