15 lines
219 B
Go
15 lines
219 B
Go
package main
|
|
|
|
import (
|
|
"apiServer_service/routs"
|
|
"github.com/cloudwego/hertz/pkg/app/server"
|
|
)
|
|
|
|
func SetupRoutes(r *server.Hertz) {
|
|
auth := r.Group("/api")
|
|
{
|
|
// index 路由
|
|
routs.RegisterIndexRoutes(auth)
|
|
}
|
|
}
|