vortex-task/main.go

18 lines
217 B
Go
Raw Normal View History

2024-06-30 16:01:49 +00:00
package main
import (
"net/http"
"github.com/gin-gonic/gin"
)
func main() {
r := gin.Default()
r.GET("/ping", func(ctx *gin.Context) {
ctx.JSON(http.StatusOK, gin.H{
"message": "pong",
})
})
r.Run()
}