From fea0f9d0ae681664314d7bb30b88b61d20b7cbcc Mon Sep 17 00:00:00 2001 From: lwnmengjing Date: Sun, 4 Feb 2024 16:50:16 +0800 Subject: [PATCH] :sparkles: flag.Parse --- main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main.go b/main.go index 8eaf8e4..b9d7e18 100644 --- a/main.go +++ b/main.go @@ -15,6 +15,7 @@ var ( ) func main() { + flag.Parse() r := gin.Default() r.POST(*path, func(c *gin.Context) { rb, err := io.ReadAll(c.Request.Body)