Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UID ¶
type UID interface { // Hex 返回十六进制表示 Hex() string // Base32 返回 base32 编码表示 Base32() string // String 返回字符串表示 // 格式为 `{hex}({base32})` String() string }
UID 唯一 ID
func DecodeUID128FromBase32 ¶
DecodeUID128FromBase32 从 base32 形式解码 128 位 UID 输入 26 个字符
func DecodeUID128FromHex ¶
DecodeUID128FromHex 从十六进制形式解码 128 位 UID 输入 32 个字符
Click to show internal directories.
Click to hide internal directories.