Documentation ¶ Index ¶ func CallQuitFuncs() func RandomFloat64(min, max float64) float64 func RandomInt(min, max int) int func RandomScheduleTime(n int) string func RandomSelectArrInt64(arr []int64, maxAmount int) []int64 func RandomString(n int) string func Register(onExit func()) 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. Source Files ¶ View all Source files onquit.gorand.go Directories ¶ Show internal Expand all Path Synopsis file sdk sqlite3 Click to show internal directories. Click to hide internal directories.