Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UUID ¶
type UUID string
func NewUUID ¶
func NewUUID() UUID
NewUUID returns a new unique UUID. 4byte 时间, 3byte 机器ID 2byte pid 3byte 自增ID
func (UUID) HexToUpper ¶
Hex returns a hex representation of the UUID. 返回大写16进制对应的字符串
Click to show internal directories.
Click to hide internal directories.