Initial commit

This commit is contained in:
JustSong
2023-04-22 20:39:27 +08:00
committed by GitHub
commit 4cbef0780e
87 changed files with 6933 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
package router
import (
"embed"
"github.com/gin-gonic/gin"
)
func SetRouter(router *gin.Engine, buildFS embed.FS, indexPage []byte) {
SetApiRouter(router)
setWebRouter(router, buildFS, indexPage)
}