feat: remove v1

This commit is contained in:
Rogee
2024-12-04 14:11:50 +08:00
parent 0803c2f54f
commit cdf8acf78f
63 changed files with 314 additions and 2461 deletions

View File

@@ -0,0 +1,22 @@
package tasks
import (
"git.ipao.vip/rogeecn/atom/container"
"git.ipao.vip/rogeecn/atom/utils/opt"
hashids "github.com/speps/go-hashids/v2"
)
func Provide(opts ...opt.Option) error {
if err := container.Container.Provide(func(
hashId *hashids.HashID,
) (*DiscoverMedias, error) {
obj := &DiscoverMedias{
hashId: hashId,
}
return obj, nil
}); err != nil {
return err
}
return nil
}