16 lines
230 B
Go
16 lines
230 B
Go
package handler
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
// HealthCheck 健康检查
|
|
func HealthCheck(c *gin.Context) {
|
|
c.JSON(http.StatusOK, gin.H{
|
|
"status": "ok",
|
|
"message": "CarrotSkin API is running",
|
|
})
|
|
}
|