docs: update markdown format

This commit is contained in:
nlwkobe30 2022-12-23 00:44:37 +08:00
parent e868fd1d3d
commit 627abc77ff
1 changed files with 69 additions and 71 deletions

View File

@ -2229,11 +2229,9 @@ import (
) )
func main() { func main() {
router := gin.Default() router := gin.Default()
router.GET("/cookie", func(c *gin.Context) { router.GET("/cookie", func(c *gin.Context) {
cookie, err := c.Cookie("gin_cookie") cookie, err := c.Cookie("gin_cookie")
if err != nil { if err != nil {