Files
wallet/backend/routes/CategoryRoutes.go
T
wt 547949795f
Build and Test / build-and-test-backend (push) Successful in 27s
Build and Test / build-and-test-frontend (push) Successful in 32s
added routes package and serve in server package
2025-08-10 15:09:09 +07:00

14 lines
253 B
Go

package routes
import (
"backend/api"
"github.com/gofiber/fiber/v2"
)
func CategoryRoutes(group fiber.Router) {
categoryGroup := group.Group("/category")
categoryGroup.Get("/", api.GetAllCategories)
categoryGroup.Post("/", api.CreateCategory)
}