16 lines
264 B
Go
16 lines
264 B
Go
package users
|
|
|
|
import "github.com/gofiber/fiber/v3"
|
|
|
|
type UserController struct {
|
|
userSvc *UserService
|
|
}
|
|
|
|
func GetUsers(c fiber.Ctx) error {
|
|
return c.SendString("users")
|
|
}
|
|
|
|
func GetCurrentUserInfo(c fiber.Ctx) error {
|
|
return c.SendString("current user info")
|
|
}
|