Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var IdGenerator idGenerator
Functions ¶
This section is empty.
Types ¶
type SnowflakeIdGenerator ¶
type SnowflakeIdGenerator struct {
// contains filtered or unexported fields
}
func (*SnowflakeIdGenerator) Next ¶
func (s *SnowflakeIdGenerator) Next() int64
Click to show internal directories.
Click to hide internal directories.