pkg

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CallQuitFuncs

func CallQuitFuncs()

调用所有退出函数

func RandomFloat64

func RandomFloat64(min, max float64) float64

生成随机 float64 保留两位小数

func RandomInt

func RandomInt(min, max int) int

生成随机数

func RandomScheduleTime

func RandomScheduleTime(n int) string

生产随机时段

func RandomSelectArrInt64

func RandomSelectArrInt64(arr []int64, maxAmount int) []int64

随机选择 int64 数组中的随机数量的项

func RandomString

func RandomString(n int) string

生成随机字符串

func Register

func Register(onExit func())

注册退出时的回调函数

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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