panic: path must begin with '/'
This commit is contained in:
Jijo Varghese 2014-07-01 21:20:59 -07:00
parent d6ab48bd1f
commit 9c4b661d1e

View File

@ -23,7 +23,7 @@ import "github.com/gin-gonic/gin"
func main() {
r := gin.Default()
r.GET("ping", func(c *gin.Context){
r.GET("/ping", func(c *gin.Context){
c.String(200, "pong")
})