olahol / melody

:notes: Minimalist websocket framework for Go
BSD 2-Clause "Simplified" License
3.76k stars 365 forks source link

How to use Gin? #14

Closed xkeyideal closed 7 years ago

xkeyideal commented 8 years ago

Server how to use Gin c *gin.Conext name := c.PostForm("name") then calc the result by name

end c.Json(200, gin.H{"name": calcAfter}) to send client