modules + collect routes
This commit is contained in:
parent
8c38107ff2
commit
a6be7a9e21
2 changed files with 33 additions and 6 deletions
7
internal/app/interfaces.go
Normal file
7
internal/app/interfaces.go
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
package app
|
||||
|
||||
import "github.com/gin-gonic/gin"
|
||||
|
||||
type Module interface {
|
||||
RegisterRoutes(r *gin.RouterGroup)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue