|
@ -42,8 +42,3 @@ func (m *SnowflakeSequencer) NextFileId(count uint64) uint64 { |
|
|
// ignore setmax as we are snowflake
|
|
|
// ignore setmax as we are snowflake
|
|
|
func (m *SnowflakeSequencer) SetMax(seenValue uint64) { |
|
|
func (m *SnowflakeSequencer) SetMax(seenValue uint64) { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// return a new id as no Peek is stored
|
|
|
|
|
|
func (m *SnowflakeSequencer) Peek() uint64 { |
|
|
|
|
|
return uint64(m.node.Generate().Int64()) |
|
|
|
|
|
} |
|
|
|