complete role crud

This commit is contained in:
yanghao05
2023-02-04 19:54:29 +08:00
parent 2fb6bba903
commit 285e1f1c51
13 changed files with 270 additions and 19 deletions

View File

@@ -5,6 +5,7 @@ import (
"atom/modules/auth/controller"
"atom/modules/auth/dao"
"atom/modules/auth/routes"
"atom/modules/auth/service"
"log"
"go.uber.org/dig"
@@ -22,6 +23,9 @@ func init() {
}
//service
if err := container.Container.Provide(service.NewRoleService); err != nil {
log.Fatal(err)
}
// dao
if err := container.Container.Provide(dao.NewRoleDao); err != nil {