12 lines
223 B
Go
12 lines
223 B
Go
package router
|
|
|
|
import (
|
|
"github.com/gin-gonic/gin"
|
|
"github.com/iliadenisov/galaxy/internal/router/handler"
|
|
)
|
|
|
|
func SetupRouter(e handler.CommandExecutor) *gin.Engine {
|
|
gin.SetMode(gin.TestMode)
|
|
return setupRouter(e)
|
|
}
|