package api import "github.com/gin-gonic/gin" func GroupV0(router *gin.Engine) *gin.Engine { v0 := router.Group("/v0") v0.GET("/package", getPackageList) v0.GET("/osinfo", getOSInfo) return router }