Documentation
¶
Index ¶
Constants ¶
View Source
const (
Epoch = 1730390400 // 元时间 2024-11-01 00:00:00
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ID ¶
type ID uint64
func ParseBytes ¶
func ParseInt64 ¶
func ParseString ¶
func (ID) DataCenter ¶
type IDGenerator ¶
type IDGenerator struct {
// contains filtered or unexported fields
}
IDGenerator 共享内存和锁的结构
Click to show internal directories.
Click to hide internal directories.