mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-05-20 21:41:55 +00:00
feat: konfigurasi sistem toggle pemakaian pakan ovk negatif
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package systemsettings
|
||||
|
||||
import (
|
||||
"github.com/go-playground/validator/v10"
|
||||
"github.com/gofiber/fiber/v2"
|
||||
"gorm.io/gorm"
|
||||
|
||||
repository "gitlab.com/mbugroup/lti-api.git/internal/modules/system-settings/repositories"
|
||||
service "gitlab.com/mbugroup/lti-api.git/internal/modules/system-settings/services"
|
||||
)
|
||||
|
||||
type SystemSettingsModule struct{}
|
||||
|
||||
func (SystemSettingsModule) RegisterRoutes(router fiber.Router, db *gorm.DB, validate *validator.Validate) {
|
||||
repo := repository.NewSystemSettingRepository(db)
|
||||
svc := service.NewSystemSettingService(repo)
|
||||
SystemSettingRoutes(router, svc)
|
||||
}
|
||||
Reference in New Issue
Block a user