Files
stock/internal/logic/hello/ping.go
2026-01-13 13:23:54 +08:00

17 lines
220 B
Go

package hello
import (
"net/http"
"time"
"github.com/gin-gonic/gin"
)
func Ping(ctx *gin.Context) {
ctx.JSON(http.StatusOK, map[string]any{
"PING": "PONG",
"TIMESEQ": time.Now().Nanosecond(),
})
return
}