package mapnode import "github.com/gin-gonic/gin" func Start() { router := gin.Default() router.GET("/ping", func(c *gin.Context) { c.JSON(200, gin.H{ "message": "pong", }) }) router.Run("localhost:4000") // listen and serve on 0.0.0.0:4000 }