feat(*): go 后端项目脚手架

This commit is contained in:
2025-11-15 18:20:30 +08:00
commit 5bb025c1aa
39 changed files with 2459 additions and 0 deletions

14
internal/router/router.go Normal file
View File

@@ -0,0 +1,14 @@
package router
import (
"github.com/gin-gonic/gin"
"github.com/zhilv666/navsite/internal/api"
)
func SetupRouter() *gin.Engine {
r := gin.Default()
api.RegisterRouter(r)
return r
}