14 lines
210 B
Go
14 lines
210 B
Go
package routs
|
|
|
|
import (
|
|
"apiServer_service/apps"
|
|
"github.com/cloudwego/hertz/pkg/route"
|
|
)
|
|
|
|
func RegisterIndexRoutes(r *route.RouterGroup) {
|
|
index := r.Group("/index")
|
|
{
|
|
index.GET("/ping", apps.Ping)
|
|
}
|
|
}
|