20 lines
342 B
Go
20 lines
342 B
Go
package initialize
|
|
|
|
import (
|
|
"git.echol.cn/loser/Go-Web-Template/server/router"
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
func holder(routers ...*gin.RouterGroup) {
|
|
_ = routers
|
|
_ = router.RouterGroupApp
|
|
}
|
|
|
|
func initBizRouter(routers ...*gin.RouterGroup) {
|
|
privateGroup := routers[0]
|
|
publicGroup := routers[1]
|
|
|
|
holder(publicGroup, privateGroup)
|
|
|
|
}
|