75e2611c by smallfish

Update ctx.WriteString multiple buf output

1 parent 20463fa7
......@@ -62,7 +62,7 @@ func (ctx *Context) Abort(status int, body string) {
// Write string to response body.
// it sends response body.
func (ctx *Context) WriteString(content string) {
ctx.Output.Body([]byte(content))
ctx.ResponseWriter.Write([]byte(content))
}
// Get cookie from request by a given key.
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!