Init Project

This commit is contained in:
fallen-angle
2022-01-12 18:42:07 +08:00
commit 0a5379c8f3
11 changed files with 710 additions and 0 deletions

14
router/router.go Normal file
View File

@@ -0,0 +1,14 @@
package router
import (
"nCovTrack-Backend/global"
"github.com/gin-gonic/gin"
)
func initRouter() {
r := gin.Default()
r.Use()
apiGroup := r.Group(global.ServerSettings.UrlPrefix)
router.UserRouter(apiGroup)
}