Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ObjectID ¶
type ObjectID [12]byte
ObjectID 是一个 12 字节的唯一标识符。
type Snowflake ¶
type Snowflake struct {
// contains filtered or unexported fields
}
Snowflake 结构体
func (*Snowflake) GenerateSnowflake ¶
GenerateSnowflake 生成新的雪花码
Click to show internal directories.
Click to hide internal directories.