mirror of
https://gitee.com/willfree/min-usage.git
synced 2026-06-03 08:16:57 +08:00
增加拉式场景
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
package main
|
||||
|
||||
type pSeq struct {
|
||||
seq uint64
|
||||
}
|
||||
|
||||
func (s *pSeq) GetNewSeq() uint64 {
|
||||
s.seq++
|
||||
return s.seq
|
||||
}
|
||||
Reference in New Issue
Block a user