docs: update markdown format (#3446)
* docs: update markdown format * fix: resolve conflict * docs: update markdown format * docs: update * docs: update * Revert "docs: update" This reverts commit 82716193b753dbcad6fee85973790727b7a31ae5.
This commit is contained in:
		@ -465,7 +465,7 @@ func main() {
 | 
			
		||||
      c.String(http.StatusOK, "pong")
 | 
			
		||||
  })
 | 
			
		||||
 | 
			
		||||
    router.Run(":8080")
 | 
			
		||||
   router.Run(":8080")
 | 
			
		||||
}
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
@ -2105,7 +2105,6 @@ import (
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
func main() {
 | 
			
		||||
 | 
			
		||||
  router := gin.Default()
 | 
			
		||||
 | 
			
		||||
  router.GET("/cookie", func(c *gin.Context) {
 | 
			
		||||
@ -2149,7 +2148,6 @@ import (
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
func main() {
 | 
			
		||||
 | 
			
		||||
  router := gin.Default()
 | 
			
		||||
  router.SetTrustedProxies([]string{"192.168.1.2"})
 | 
			
		||||
 | 
			
		||||
@ -2176,7 +2174,6 @@ import (
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
func main() {
 | 
			
		||||
 | 
			
		||||
  router := gin.Default()
 | 
			
		||||
  // Use predefined header gin.PlatformXXX
 | 
			
		||||
  router.TrustedPlatform = gin.PlatformGoogleAppEngine
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user