mirror of
https://github.com/gofiber/fiber.git
synced 2025-07-13 07:39:35 +00:00
removing useless space in the chinese readme
This commit is contained in:
parent
8cd8b084b8
commit
fa78f13c92
4
.github/README_zh-CN.md
vendored
4
.github/README_zh-CN.md
vendored
@ -199,7 +199,7 @@ func main() {
|
||||
app.Static("./public")
|
||||
|
||||
// Last middleware
|
||||
app.Use(func (c *fiber.Ctx) {
|
||||
app.Use(func(c *fiber.Ctx) {
|
||||
c.SendStatus(404) // => 404 "Not Found"
|
||||
})
|
||||
|
||||
@ -219,7 +219,7 @@ func main() {
|
||||
}
|
||||
|
||||
// Serialize JSON
|
||||
app.Get("/json", func (c *fiber.Ctx) {
|
||||
app.Get("/json", func(c *fiber.Ctx) {
|
||||
c.JSON(&User{"John", 20})
|
||||
})
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user