Skip to content

Commit

Permalink
✨ flag.Parse
Browse files Browse the repository at this point in the history
  • Loading branch information
lwnmengjing committed Feb 4, 2024
1 parent dad72f0 commit fea0f9d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit fea0f9d

Please sign in to comment.