feat(storage): 添加默认存储提供者以支持存储功能

This commit is contained in:
2025-12-30 21:18:29 +08:00
parent cf29a2bf1a
commit ff22ca1264
2 changed files with 9 additions and 0 deletions

View File

@@ -13,6 +13,13 @@ import (
"go.ipao.vip/atom/opt"
)
func DefaultProvider() container.ProviderContainer {
return container.ProviderContainer{
Provider: Provide,
Options: []opt.Option{},
}
}
func Provide(opts ...opt.Option) error {
o := opt.New(opts...)
var config Config