add backend tpl

This commit is contained in:
Rogee
2024-11-28 23:18:11 +08:00
parent 77e962b668
commit f7d95418a2
86 changed files with 3229 additions and 135 deletions

View File

@@ -0,0 +1,15 @@
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")
}