mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-05-24 15:25:43 +00:00
Feat(BE-36,37,38,39): master area, customer, kandang, location, warehouse
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
package route
|
||||
|
||||
import (
|
||||
"gitlab.com/mbugroup/lti-api.git/internal/common/validation"
|
||||
"gitlab.com/mbugroup/lti-api.git/internal/modules"
|
||||
"gitlab.com/mbugroup/lti-api.git/internal/validation"
|
||||
trim "gitlab.com/mbugroup/lti-api.git/internal/middleware/trim"
|
||||
|
||||
"github.com/gofiber/fiber/v2"
|
||||
"gorm.io/gorm"
|
||||
@@ -15,6 +16,7 @@ import (
|
||||
func Routes(app *fiber.App, db *gorm.DB) {
|
||||
validate := validation.Validator()
|
||||
api := app.Group("/api")
|
||||
api.Use(trim.JSONBody())
|
||||
|
||||
// root modules di sini
|
||||
allModules := []modules.Module{
|
||||
|
||||
Reference in New Issue
Block a user