Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserController ¶
type UserController struct {
UserService service.IUserService
}
UserController is a controller for user
func NewUserController ¶
func NewUserController(userService service.IUserService) UserController
NewUserController creates a new user controller
func (*UserController) GetUserByName ¶
func (u *UserController) GetUserByName(c *fiber.Ctx) error
GetUserByName returns a user by name
Click to show internal directories.
Click to hide internal directories.