rander

package
v0.5.6-beta1 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2021 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Int

func Int(n int) int64

Int 生成一个int64类型的区间随机数 generate an interval random number of type int64 example: Int(32) return [0~31]

func RandUp

func RandUp(n int) []byte

RandUp 生成一个指定长度的字符串,返回类型[]byte(减少使用时的转换) generate a string of specified length return type []byte (reduce conversion during use) example: string(RandUp(1)) A

Types

This section is empty.

Jump to

Keyboard shortcuts

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