部分更改
This commit is contained in:
13
srv/tools/wire_generate/wire.go
Normal file
13
srv/tools/wire_generate/wire.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package wire_generate
|
||||
|
||||
import (
|
||||
"Crimson-Gatekeeper/internal/common"
|
||||
"Crimson-Gatekeeper/internal/user"
|
||||
|
||||
"github.com/google/wire"
|
||||
)
|
||||
|
||||
func TestInit() *user.Controller {
|
||||
wire.Build(user.New, common.GetQuery, common.GetDataBaseClient)
|
||||
return &user.Controller{}
|
||||
}
|
||||
Reference in New Issue
Block a user