idgen

package
Version: v2.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2021 License: LGPL-3.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSecureRandomUUID

func NewSecureRandomUUID() (string, error)

NewSecureRandomUUID 生成一个随机的用于安全验证的 UUID (v4)

func NewUUID

func NewUUID() (string, error)

NewUUID 生成一个UUID (v1)

func NewXid

func NewXid() string

NewXid 生成一个新的 XID

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL