12 lines
165 B
Go
12 lines
165 B
Go
package handler
|
|
|
|
import (
|
|
"gin_layout/pkg/response"
|
|
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
func Health(ctx *gin.Context) {
|
|
response.Success(ctx, gin.H{"status": "ok"})
|
|
}
|