This commit is contained in:
Hericium-sys
2026-04-25 13:26:02 +08:00
commit 62b87c6002
29 changed files with 1884 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
package rest
import (
"skeleton/modules/example"
"github.com/gin-gonic/gin"
)
func init() {
RegisterPublic(registerExampleRoutes)
}
func registerExampleRoutes(r *gin.RouterGroup) {
ctrl := example.NewExampleController()
group := r.Group("/example")
group.GET("/hello", ctrl.Hello)
}