Skip to content

Commit 2bcd4f8

Browse files
chore: Typo
1 parent 1e15c85 commit 2bcd4f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ mux := http.NewServeMux()
1616
mux.Handle("GET /products", errhandler.Wrap(addProduct))
1717
```
1818

19-
Update your existing handler signature, by adding an `error` return type and utilizing the optional `errhandler.ParseJSON` and `errhandler.SendJSON` helper functions to reduce the amount of boilerplate code handlers require:
19+
Update your existing handler signatures, by adding an `error` return type and utilizing the optional `errhandler.ParseJSON` and `errhandler.SendJSON` helper functions to reduce the amount of boilerplate code handlers require:
2020

2121
```go
2222
func addProduct(w http.ResponseWriter, r *http.Request) error {

0 commit comments

Comments
 (0)