mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-05-20 13:31:56 +00:00
Feat[BE}: inisiate repport module
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
package repports
|
||||
|
||||
import (
|
||||
"github.com/go-playground/validator/v10"
|
||||
"github.com/gofiber/fiber/v2"
|
||||
"gorm.io/gorm"
|
||||
|
||||
sRepport "gitlab.com/mbugroup/lti-api.git/internal/modules/repports/services"
|
||||
)
|
||||
|
||||
type RepportModule struct{}
|
||||
|
||||
func (RepportModule) RegisterRoutes(router fiber.Router, db *gorm.DB, validate *validator.Validate) {
|
||||
repportService := sRepport.NewRepportService(validate)
|
||||
|
||||
RepportRoutes(router, repportService)
|
||||
}
|
||||
Reference in New Issue
Block a user