experiment: successfully implemented dependency injections for controllers and services
This commit is contained in:
9
backend/internal/controllers/router.go
Normal file
9
backend/internal/controllers/router.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package controllers
|
||||
|
||||
import (
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
type Router interface {
|
||||
RegisterRoutes(group *gin.RouterGroup)
|
||||
}
|
||||
Reference in New Issue
Block a user