An attempt to fix formatting

This commit is contained in:
Aliaksandr Valialkin
2015-12-01 21:10:05 +02:00
parent 9f6ed6884a
commit c4e36ed95d
+5 -5
View File
@@ -149,11 +149,11 @@ requestHandler := func(ctx *fasthttp.RequestCtx) {
* All the pseudocode below assumes w, r and ctx have these types:
```go
var (
w http.ResponseWriter
r *http.Request
ctx *fasthttp.RequestCtx
)
var (
w http.ResponseWriter
r *http.Request
ctx *fasthttp.RequestCtx
)
```
* r.Body -> [ctx.PostBody()](https://godoc.org/github.com/valyala/fasthttp#RequestCtx.PostBody)
* r.URL.Path -> [ctx.Path()](https://godoc.org/github.com/valyala/fasthttp#RequestCtx.Path)