snowFlakeByGo
snowFlakeByGo copied to clipboard
golang实现Twitter的snowFlake算法,分布式高效ID(全局唯一)生成器
Results
4
snowFlakeByGo issues
Sort by
recently updated
recently updated
newest added
应该需要提到外面更新吧
作者垃圾
序列号w.number在溢出单位时间内的生成上限,等到下一个时间戳后,没有重置为0,造成序列号溢出到workerid区域了 