Write
Appends any input to the HTTP body response.
- c.Write(body ...interface{})
- app.Get("/", func(c *fiber.Ctx) {
- c.Write("Hello, ") // => "Hello, "
- c.Write([]byte("World! ")) // => "Hello, World! "
- c.Write(123) // => "Hello, World! 123"
- })
本文档使用 BookStack 构建