mirror of https://github.com/gin-gonic/gin.git
Fix READEME.md
This commit is contained in:
parent
728e103924
commit
fc494c8094
|
@ -273,7 +273,7 @@ func main() {
|
||||||
r.Use(Logger())
|
r.Use(Logger())
|
||||||
|
|
||||||
r.GET("/test", func(c *gin.Context){
|
r.GET("/test", func(c *gin.Context){
|
||||||
example := r.Get("example").(string)
|
example := c.Get("example").(string)
|
||||||
|
|
||||||
// it would print: "12345"
|
// it would print: "12345"
|
||||||
log.Println(example)
|
log.Println(example)
|
||||||
|
|
Loading…
Reference in New Issue