uuid

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFxTestUuidGeneratorFactory

func NewFxTestUuidGeneratorFactory(p FxTestUuidGeneratorFactoryParam) uuid.UuidGeneratorFactory

NewFxTestUuidGeneratorFactory returns a new TestUuidGeneratorFactory, implementing uuid.UuidGeneratorFactory.

Types

type FxTestUuidGeneratorFactoryParam

type FxTestUuidGeneratorFactoryParam struct {
	fx.In
	Value string `name:"generate-test-uuid-value"`
}

FxTestUuidGeneratorFactoryParam is used to retrieve the provided generate-test-uuid-value from Fx.

type TestUuidGeneratorFactory

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

TestUuidGeneratorFactory is a uuid.UuidGeneratorFactory implementation.

func (*TestUuidGeneratorFactory) Create

Create returns a new uuid.UuidGenerator.

Jump to

Keyboard shortcuts

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