//
pkg.gl
Category
github.com/5-say/go-tool
uniorder
package
0.6.1
Repository:
https://github.com/5-say/go-tool.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
2
Dependents
0
Files
58 SLOC
#
Packages
test
No description provided by the author
#
Functions
Get
取得分组唯一订单号,并发安全 e.g.
InitGroup
初始化分组,开启异步生成队列 group string // 分组名称 rollingHours uint64 // 滚动周期(小时) lastCycleNum uint64 // 已使用的最后一个订单号的 周期数 lastInCycleIndex uint64 // 已使用的最后一个订单号的 周期内索引 e.g.
#
Variables
OriginTime
时间原点.