add default provider

This commit is contained in:
yanghao05
2023-05-06 11:26:21 +08:00
parent 5362691ad5
commit 3a9a1a6eeb
12 changed files with 124 additions and 0 deletions

View File

@@ -7,6 +7,13 @@ import (
"github.com/gofrs/uuid"
)
func DefaultProvider() container.ProviderContainer {
return container.ProviderContainer{
Provider: Provide,
Options: []opt.Option{},
}
}
type Generator struct {
generator uuid.Generator
}