Skip to content

Commit b0ec77e

Browse files
committed
feat: finished
1 parent c35da48 commit b0ec77e

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

build.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ func build(h Handler, params map[string]string) func(http.Handler) http.Handler
1313
return http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) {
1414
resp := response(w, req)
1515
reqs := request(req)
16+
reqs.Params = params
1617
h(resp, reqs)
1718
next.ServeHTTP(w, req)
1819
})

request.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ SOFTWARE.
3030

3131
import (
3232
"encoding/json"
33-
"fmt"
3433
"mime/multipart"
3534
"net"
3635
"net/http"
@@ -66,7 +65,6 @@ func request(r *http.Request) *Request {
6665
body, err := ParseRequestBody(r); if err != nil {
6766
panic(err)
6867
}
69-
fmt.Println(body)
7068
req := &Request{
7169
ref: r,
7270
fileReader: nil,

0 commit comments

Comments
 (0)