Skip to content

Commit 732610e

Browse files
fix: Typo in readme
1 parent accf209 commit 732610e

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
@@ -25,7 +25,7 @@ func addProduct(w http.ResponseWriter, r *http.Request) error {
2525
return err
2626

2727
// Or, if you'd prefer to customise the status code:
28-
// errhandler.Error(http.StatusUnprocessableEntity, err)
28+
// return errhandler.Error(http.StatusUnprocessableEntity, err)
2929
}
3030

3131
products[p.ID] = p

0 commit comments

Comments
 (0)