From 0c83a867e5025cc9f410189d10227eecbd5b2dc5 Mon Sep 17 00:00:00 2001 From: Quang nd Date: Wed, 28 Aug 2024 09:26:30 +0700 Subject: [PATCH] fix --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 5f0fcea..c4d72b6 100644 --- a/main.go +++ b/main.go @@ -9,7 +9,7 @@ import ( func main() { router := gin.Default() - version := 3 + version := 4 router.GET("/ping/:name", func(c *gin.Context) { c.JSON(http.StatusOK, gin.H{ "message": "pong " + c.Params.ByName("name"),