package
Version:
v0.0.0-...-a4da07a
Opens a new window with list of versions in this module.
Published: Oct 22, 2023
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Snowflake struct {
}
Snowflake 结构体
NewSnowflake 函数用于创建一个Snowflake实例
GenerateId 方法用于生成一个全局唯一的ID
Source Files
¶
Click to show internal directories.
Click to hide internal directories.