id

package
v0.0.0-...-ed06964 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2023 License: MIT Imports: 6 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator

type Generator interface {
	UUID() uuid.UUID
	ID() ID
	TraceID() trace.TraceID
	SpanID() trace.SpanID
}

func NewRandGenerator

func NewRandGenerator() Generator

type GeneratorFunc

type GeneratorFunc func() ID

type ID

type ID string

func GenerateID

func GenerateID() ID

func SlugFromString

func SlugFromString(input string) ID

func (ID) String

func (id ID) String() string

Jump to

Keyboard shortcuts

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