mirror of https://github.com/gin-gonic/gin.git
docs: update markdown format
This commit is contained in:
parent
e868fd1d3d
commit
627abc77ff
|
@ -589,7 +589,7 @@ func main() {
|
|||
c.String(http.StatusOK, "pong")
|
||||
})
|
||||
|
||||
router.Run(":8080")
|
||||
router.Run(":8080")
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -2229,11 +2229,9 @@ import (
|
|||
)
|
||||
|
||||
func main() {
|
||||
|
||||
router := gin.Default()
|
||||
|
||||
router.GET("/cookie", func(c *gin.Context) {
|
||||
|
||||
cookie, err := c.Cookie("gin_cookie")
|
||||
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue