idgeneration

package
v0.73.0-preview.9 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 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 IDGenerator added in v0.55.0

type IDGenerator struct {
	// contains filtered or unexported fields
}

IDGenerator no mutex required, markets work deterministically, and sequentially.

func New

func New(rootID string) *IDGenerator

New returns an idGenerator, and is used to abstract this type.

func (*IDGenerator) NextID added in v0.55.0

func (i *IDGenerator) NextID() string

Jump to

Keyboard shortcuts

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