Versions in this module Expand all Collapse all v1 v1.0.1 Oct 14, 2022 v1.0.0 Jun 2, 2022 Changes in this version + var X gen + func FormatUUID(buf []byte) (string, error) + func GenerateRandomBytes(size int) ([]byte, error) + func GenerateUUID() (string, error) + func GetMD5Base64(bytes []byte) (base64Value string) + func GetMd5String(s string) string + func GetUUID() (uuidHex string) + func New() string + func NextStrToken() string + func NextToken() int64 + func ParseUUID(uuid string) ([]byte, error) + func RandStringBytes(n int) string + func UniqueId() string + type ID struct + Counter int32 + Machine string + PID uint16 + S string + type IdWorker struct + func (this *IdWorker) InitIdWorker(workerId, datacenterId int64) error + func (this *IdWorker) NextId() (int64, error) + type UUID [16]byte + func NewUUID() UUID + func (u UUID) String() string