We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bcd4f8 commit 44039efCopy full SHA for 44039ef
README.md
@@ -20,7 +20,7 @@ Update your existing handler signatures, by adding an `error` return type and ut
20
21
```go
22
func addProduct(w http.ResponseWriter, r *http.Request) error {
23
- var p product
+ var p product
24
if err := errhandler.ParseJSON(r, &p); err != nil {
25
return fmt.Errorf("parsing request json: %w", err)
26
}
0 commit comments