Skip to content

Commit b9ef239

Browse files
committed
fix package name
1 parent 6b9f794 commit b9ef239

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ func Handle(w http.ResponseWriter, r *http.Request) {
3030
var request Request
3131

3232
// Decode HTTP request body to struct.
33-
if err := go_http_request_body_json_decoder.Decode(w, r, &request, maxBytes); err != nil {
33+
if err := http_request_body_json_decoder.Decode(w, r, &request, maxBytes); err != nil {
3434
// TODO: Handle error.
3535
return
3636
}

http_request_body_json_decoder.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package go_http_request_body_json_decoder
1+
package http_request_body_json_decoder
22

33
import (
44
"encoding/json"

0 commit comments

Comments
 (0)