From 7ee8ab57539f83d64248537f0aad0f848c436113 Mon Sep 17 00:00:00 2001 From: Char Date: Mon, 26 Nov 2018 18:01:47 +0800 Subject: [PATCH] Update README_ZH.md Fix the redirect in README_ZH --- README_ZH.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README_ZH.md b/README_ZH.md index 8c9f8abb..efa29272 100644 --- a/README_ZH.md +++ b/README_ZH.md @@ -1253,7 +1253,7 @@ Gin 允许默认只使用一个 html 模板。 检查[多模板渲染](https://g ### 重定向 -Issuing a HTTP redirect is easy. Both internal and external locations are supported. +发起HTTP重定向很简单。支持内部和外部重定向。 ```go r.GET("/test", func(c *gin.Context) { @@ -1262,7 +1262,7 @@ r.GET("/test", func(c *gin.Context) { ``` -发出路由器重定向,使用如下的“HandleContext”。 +发起路由器内部重定向,使用如下的`HandleContext`。 ``` go r.GET("/test", func(c *gin.Context) {