Renamed container package services.
This commit is contained in:
parent
195d572036
commit
1fe906a6f9
9 changed files with 42 additions and 43 deletions
|
|
@ -12,10 +12,10 @@ import (
|
|||
"sync"
|
||||
|
||||
"goweb/config"
|
||||
"goweb/container"
|
||||
"goweb/funcmap"
|
||||
"goweb/middleware"
|
||||
"goweb/msg"
|
||||
"goweb/services"
|
||||
|
||||
"github.com/go-playground/validator/v10"
|
||||
|
||||
|
|
@ -37,10 +37,10 @@ var (
|
|||
)
|
||||
|
||||
type Controller struct {
|
||||
Container *container.Container
|
||||
Container *services.Container
|
||||
}
|
||||
|
||||
func NewController(c *container.Container) Controller {
|
||||
func NewController(c *services.Container) Controller {
|
||||
return Controller{
|
||||
Container: c,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue