Skip to content

Instantly share code, notes, and snippets.

@vkuznecovas vkuznecovas/main.go Secret
Created Jan 23, 2018

Embed
What would you like to do?
gin test
package main
import "github.com/gin-gonic/gin"
func main() {
r := gin.New()
r.GET("/", func(c *gin.Context) {
c.String(200, c.ClientIP())
})
r.Run() // listen and serve on 0.0.0.0:8080
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.