12 lines
177 B
Go
12 lines
177 B
Go
package router
|
|
|
|
import (
|
|
"gin_layout/internal/handler"
|
|
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
func registerHealthRoutes(engine *gin.Engine) {
|
|
engine.GET("/health", handler.Health)
|
|
}
|