package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Jun 15, 2026
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Generate 生成一个雪花 ID。未初始化时返回 error。
Setup 初始化雪花算法节点,nodeID 范围 0-1023。
可重复调用,最后一次生效。nodeID 越界或非法返回 error。
Source Files
¶
Click to show internal directories.
Click to hide internal directories.