mirror of https://github.com/gofiber/fiber.git
removing useless space in the chinese readme
parent
8cd8b084b8
commit
fa78f13c92
|
@ -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…
Reference in New Issue