fix lint issues

This commit is contained in:
yanghao05
2023-01-31 16:07:29 +08:00
parent 81e33fa544
commit 05622922e9
10 changed files with 273 additions and 134 deletions

View File

@@ -2,6 +2,7 @@ package container
import (
"context"
"log"
"go.uber.org/dig"
)
@@ -9,5 +10,7 @@ import (
var Container *dig.Container = dig.New()
func init() {
Container.Provide(context.Background)
if err := Container.Provide(context.Background); err != nil {
log.Fatal(err)
}
}