help

package
v1.0.14 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2022 License: MulanPSL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AutoIncrementInt32

func AutoIncrementInt32() int32

AutoIncrementInt32 获取一个自动递增数

func MD5String

func MD5String(str string) string

func NowTimeUnix

func NowTimeUnix() int64

NowTimeUnix 获取当前时间戳精确到秒/second

func NowTimeUnixMicro

func NowTimeUnixMicro() int64

NowTimeUnixMicro 获取当前时间戳精确到微秒/microsecond

func NowTimeUnixMilli

func NowTimeUnixMilli() int64

NowTimeUnixMilli 获取当前时间戳精确到毫秒/millisecond

func NowTimeUnixNano

func NowTimeUnixNano() int64

NowTimeUnixNano 获取当前时间戳精确到纳秒/nanosecond

func RandomString added in v1.0.9

func RandomString(n int, f RandFunc) string

RandomString 随机密钥

Types

type RandFunc added in v1.0.9

type RandFunc func(i int) byte

Jump to

Keyboard shortcuts

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