From 1a8454d5e4410ccefa1cc83fbcb60b1ab6b074eb Mon Sep 17 00:00:00 2001 From: demouth Date: Sat, 2 Nov 2024 21:27:58 +0900 Subject: [PATCH] fix route group example code --- content/en/docs/examples/grouping-routes.md | 4 ++-- content/es/docs/examples/grouping-routes.md | 4 ++-- content/fa/docs/examples/grouping-routes.md | 4 ++-- content/ja/docs/examples/grouping-routes.md | 4 ++-- content/ko-kr/docs/examples/grouping-routes.md | 4 ++-- content/pt/docs/examples/grouping-routes.md | 4 ++-- content/ru/docs/examples/grouping-routes.md | 4 ++-- content/tr/docs/examples/grouping-routes.md | 4 ++-- content/zh-cn/docs/examples/grouping-routes.md | 4 ++-- content/zh-tw/docs/examples/grouping-routes.md | 4 ++-- 10 files changed, 20 insertions(+), 20 deletions(-) diff --git a/content/en/docs/examples/grouping-routes.md b/content/en/docs/examples/grouping-routes.md index a480aa325..2829d023a 100644 --- a/content/en/docs/examples/grouping-routes.md +++ b/content/en/docs/examples/grouping-routes.md @@ -8,16 +8,16 @@ func main() { router := gin.Default() // Simple group: v1 - v1 := router.Group("/v1") { + v1 := router.Group("/v1") v1.POST("/login", loginEndpoint) v1.POST("/submit", submitEndpoint) v1.POST("/read", readEndpoint) } // Simple group: v2 - v2 := router.Group("/v2") { + v2 := router.Group("/v2") v2.POST("/login", loginEndpoint) v2.POST("/submit", submitEndpoint) v2.POST("/read", readEndpoint) diff --git a/content/es/docs/examples/grouping-routes.md b/content/es/docs/examples/grouping-routes.md index ad5754e82..1daa8a346 100644 --- a/content/es/docs/examples/grouping-routes.md +++ b/content/es/docs/examples/grouping-routes.md @@ -8,16 +8,16 @@ func main() { router := gin.Default() // Grupo simple con ruta: v1 - v1 := router.Group("/v1") { + v1 := router.Group("/v1") v1.POST("/login", loginEndpoint) v1.POST("/submit", submitEndpoint) v1.POST("/read", readEndpoint) } // Grupo simple con ruta: v2 - v2 := router.Group("/v2") { + v2 := router.Group("/v2") v2.POST("/login", loginEndpoint) v2.POST("/submit", submitEndpoint) v2.POST("/read", readEndpoint) diff --git a/content/fa/docs/examples/grouping-routes.md b/content/fa/docs/examples/grouping-routes.md index a480aa325..2829d023a 100644 --- a/content/fa/docs/examples/grouping-routes.md +++ b/content/fa/docs/examples/grouping-routes.md @@ -8,16 +8,16 @@ func main() { router := gin.Default() // Simple group: v1 - v1 := router.Group("/v1") { + v1 := router.Group("/v1") v1.POST("/login", loginEndpoint) v1.POST("/submit", submitEndpoint) v1.POST("/read", readEndpoint) } // Simple group: v2 - v2 := router.Group("/v2") { + v2 := router.Group("/v2") v2.POST("/login", loginEndpoint) v2.POST("/submit", submitEndpoint) v2.POST("/read", readEndpoint) diff --git a/content/ja/docs/examples/grouping-routes.md b/content/ja/docs/examples/grouping-routes.md index 5cf449e75..e2274d343 100644 --- a/content/ja/docs/examples/grouping-routes.md +++ b/content/ja/docs/examples/grouping-routes.md @@ -8,16 +8,16 @@ func main() { router := gin.Default() // v1 のグループ - v1 := router.Group("/v1") { + v1 := router.Group("/v1") v1.POST("/login", loginEndpoint) v1.POST("/submit", submitEndpoint) v1.POST("/read", readEndpoint) } // v2 のグループ - v2 := router.Group("/v2") { + v2 := router.Group("/v2") v2.POST("/login", loginEndpoint) v2.POST("/submit", submitEndpoint) v2.POST("/read", readEndpoint) diff --git a/content/ko-kr/docs/examples/grouping-routes.md b/content/ko-kr/docs/examples/grouping-routes.md index 36e77973b..242ec0494 100644 --- a/content/ko-kr/docs/examples/grouping-routes.md +++ b/content/ko-kr/docs/examples/grouping-routes.md @@ -8,16 +8,16 @@ func main() { router := gin.Default() // v1 그룹 - v1 := router.Group("/v1") { + v1 := router.Group("/v1") v1.POST("/login", loginEndpoint) v1.POST("/submit", submitEndpoint) v1.POST("/read", readEndpoint) } // v2 그룹 - v2 := router.Group("/v2") { + v2 := router.Group("/v2") v2.POST("/login", loginEndpoint) v2.POST("/submit", submitEndpoint) v2.POST("/read", readEndpoint) diff --git a/content/pt/docs/examples/grouping-routes.md b/content/pt/docs/examples/grouping-routes.md index 0b5dc634d..01ceb5e70 100644 --- a/content/pt/docs/examples/grouping-routes.md +++ b/content/pt/docs/examples/grouping-routes.md @@ -8,16 +8,16 @@ func main() { router := gin.Default() // grupo simples: v1 - v1 := router.Group("/v1") { + v1 := router.Group("/v1") v1.POST("/login", loginEndpoint) v1.POST("/submit", submitEndpoint) v1.POST("/read", readEndpoint) } // grupo simples: v2 - v2 := router.Group("/v2") { + v2 := router.Group("/v2") v2.POST("/login", loginEndpoint) v2.POST("/submit", submitEndpoint) v2.POST("/read", readEndpoint) diff --git a/content/ru/docs/examples/grouping-routes.md b/content/ru/docs/examples/grouping-routes.md index 6e23d2e6a..bb43d2489 100644 --- a/content/ru/docs/examples/grouping-routes.md +++ b/content/ru/docs/examples/grouping-routes.md @@ -8,16 +8,16 @@ func main() { router := gin.Default() // Simple group: v1 - v1 := router.Group("/v1") { + v1 := router.Group("/v1") v1.POST("/login", loginEndpoint) v1.POST("/submit", submitEndpoint) v1.POST("/read", readEndpoint) } // Simple group: v2 - v2 := router.Group("/v2") { + v2 := router.Group("/v2") v2.POST("/login", loginEndpoint) v2.POST("/submit", submitEndpoint) v2.POST("/read", readEndpoint) diff --git a/content/tr/docs/examples/grouping-routes.md b/content/tr/docs/examples/grouping-routes.md index a480aa325..2829d023a 100644 --- a/content/tr/docs/examples/grouping-routes.md +++ b/content/tr/docs/examples/grouping-routes.md @@ -8,16 +8,16 @@ func main() { router := gin.Default() // Simple group: v1 - v1 := router.Group("/v1") { + v1 := router.Group("/v1") v1.POST("/login", loginEndpoint) v1.POST("/submit", submitEndpoint) v1.POST("/read", readEndpoint) } // Simple group: v2 - v2 := router.Group("/v2") { + v2 := router.Group("/v2") v2.POST("/login", loginEndpoint) v2.POST("/submit", submitEndpoint) v2.POST("/read", readEndpoint) diff --git a/content/zh-cn/docs/examples/grouping-routes.md b/content/zh-cn/docs/examples/grouping-routes.md index 8df0d145a..16d545fdb 100644 --- a/content/zh-cn/docs/examples/grouping-routes.md +++ b/content/zh-cn/docs/examples/grouping-routes.md @@ -8,16 +8,16 @@ func main() { router := gin.Default() // 简单的路由组: v1 - v1 := router.Group("/v1") { + v1 := router.Group("/v1") v1.POST("/login", loginEndpoint) v1.POST("/submit", submitEndpoint) v1.POST("/read", readEndpoint) } // 简单的路由组: v2 - v2 := router.Group("/v2") { + v2 := router.Group("/v2") v2.POST("/login", loginEndpoint) v2.POST("/submit", submitEndpoint) v2.POST("/read", readEndpoint) diff --git a/content/zh-tw/docs/examples/grouping-routes.md b/content/zh-tw/docs/examples/grouping-routes.md index a480aa325..2829d023a 100644 --- a/content/zh-tw/docs/examples/grouping-routes.md +++ b/content/zh-tw/docs/examples/grouping-routes.md @@ -8,16 +8,16 @@ func main() { router := gin.Default() // Simple group: v1 - v1 := router.Group("/v1") { + v1 := router.Group("/v1") v1.POST("/login", loginEndpoint) v1.POST("/submit", submitEndpoint) v1.POST("/read", readEndpoint) } // Simple group: v2 - v2 := router.Group("/v2") { + v2 := router.Group("/v2") v2.POST("/login", loginEndpoint) v2.POST("/submit", submitEndpoint) v2.POST("/read", readEndpoint)