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 ¶
func (f *TestUuidGeneratorFactory) Create() uuid.UuidGenerator
Create returns a new uuid.UuidGenerator.
Click to show internal directories.
Click to hide internal directories.