uuidgen

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UUIDGen

type UUIDGen struct{}

UUIDGen is a concrete implementation of UUIDGenerator interface.

func (*UUIDGen) GenerateRandomUUIDString

func (u *UUIDGen) GenerateRandomUUIDString() (string, error)

GenerateRandomUUIDString generates a new random UUID string .

type UUIDGenerator

type UUIDGenerator interface {
	GenerateRandomUUIDString() (string, error)
}

UUIDGenerator represents a UUID generator.

func New

func New() UUIDGenerator

Jump to

Keyboard shortcuts

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