uuidT

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Enter

type Enter struct{}

func (Enter) New

func (ue Enter) New() string

New == NewV4 获取去除"-"基于随机数生成的UUID

func (Enter) NewV1

func (ue Enter) NewV1(offMinus bool) string

NewV1 基于时间和MAC地址生成的UUID, offMinus 是否去除"-"

func (Enter) NewV4

func (ue Enter) NewV4(offMinus bool) string

NewV4 基于随机数生成的UUID, offMinus 是否去除"-"

Jump to

Keyboard shortcuts

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