- With issues:
- Use the search tool before opening a new issue.
- Please provide source code and commit sha if you found a bug.
- Review existing issues and provide feedback or react to them.
package main
import (
"github.com/make-money-fast/gin"
)
func main() {
g := gin.Default()
g.GET("/hello/:name", func(c *gin.Context) {
c.String(200, "Hello %s", c.Param("name"))
})
g.Run(":9000")
}
$ curl http://localhost:9000/hello/world
Hello world
$ curl -i http://localhost:9000/hello/world
<YOUR RESULT>
- go version:
- gin version (or commit ref):
- operating system: