Skip to content

Commit 369f453

Browse files
mishak87smyrman
authored andcommitted
Typo
1 parent e9c5d65 commit 369f453

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

resource/util.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"fmt"
77
)
88

9-
// Etag computes an etag based on containt of the payload.
9+
// Etag computes an etag based on content of the payload.
1010
func genEtag(payload map[string]interface{}) (string, error) {
1111
b, err := json.Marshal(payload)
1212
if err != nil {

rest/method_item_patch.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ func isJSONPatch(r *http.Request) bool {
1919
return false
2020
}
2121

22-
// itemPatch handles PATCH resquests on an item URL.
22+
// itemPatch handles PATCH requests on an item URL.
2323
//
2424
// Reference: http://tools.ietf.org/html/rfc5789, http://tools.ietf.org/html/rfc6902
2525
func itemPatch(ctx context.Context, r *http.Request, route *RouteMatch) (status int, headers http.Header, body interface{}) {

0 commit comments

Comments
 (0)