fix: building issue
This commit is contained in:
@@ -11,11 +11,11 @@ import (
|
||||
)
|
||||
|
||||
type RoleController struct {
|
||||
roleSvc service.RoleService
|
||||
roleSvc *service.RoleService
|
||||
}
|
||||
|
||||
func NewRoleController(
|
||||
roleSvc service.RoleService,
|
||||
roleSvc *service.RoleService,
|
||||
) *RoleController {
|
||||
return &RoleController{
|
||||
roleSvc: roleSvc,
|
||||
|
||||
@@ -11,13 +11,13 @@ import (
|
||||
|
||||
type UserController struct {
|
||||
conf *config.Config
|
||||
user service.UserService
|
||||
user *service.UserService
|
||||
jwt *jwt.JWT
|
||||
}
|
||||
|
||||
func NewUserController(
|
||||
conf *config.Config,
|
||||
user service.UserService,
|
||||
user *service.UserService,
|
||||
jwt *jwt.JWT,
|
||||
) *UserController {
|
||||
return &UserController{
|
||||
|
||||
Reference in New Issue
Block a user