initialize project structure with main, routing, and environment utilities

This commit is contained in:
2025-07-17 04:01:30 +08:00
parent 47db58b967
commit 70b653a88b
6 changed files with 79 additions and 0 deletions

8
internal/router/v1/v1.go Normal file
View File

@ -0,0 +1,8 @@
package v1
import "github.com/cloudwego/hertz/pkg/app/server"
func RegisterRoutes(h *server.Hertz) {
apiV1Group := h.Group("/api/v1")
registerUserRoutes(apiV1Group)
}