added: app modules register
This commit is contained in:
parent
5ffb6dde46
commit
7e5010ac78
5 changed files with 85 additions and 7 deletions
14
internal/interfaces/app.go
Normal file
14
internal/interfaces/app.go
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
package interfaces
|
||||
|
||||
import (
|
||||
"github.com/gin-gonic/gin"
|
||||
"merch-parser-api/internal/shared"
|
||||
)
|
||||
|
||||
type Module interface {
|
||||
}
|
||||
|
||||
type ModuleRoutes interface {
|
||||
RegisterRoutes(r *gin.RouterGroup)
|
||||
ExcludeRoutes() []shared.ExcludeRoute
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue