Files
stock/internal/logic/hello/ping.go

17 lines
220 B
Go
Raw Normal View History

2026-01-13 13:23:54 +08:00
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
}