generator

package
v0.0.0-...-e120e2b Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2023 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateOrderNo

func GenerateOrderNo(prefix ...string) string

func Init

func Init(nodeId int)

Types

type OrderNoGenerator

type OrderNoGenerator struct {
	*sync.Mutex
	// contains filtered or unexported fields
}

func NewOrderNoGenerator

func NewOrderNoGenerator(nodeId int) *OrderNoGenerator

func (*OrderNoGenerator) Gen

func (t *OrderNoGenerator) Gen() string

Jump to

Keyboard shortcuts

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