Skip to content

Commit

Permalink
router: document OPTIONS shortcut function (#295)
Browse files Browse the repository at this point in the history
Small update to documentation about the OPTIONS shortcut function
  • Loading branch information
grantstephens authored and julienschmidt committed Jan 14, 2020
1 parent bbc3ec1 commit 8c9f31f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion router.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
// The router matches incoming requests by the request method and the path.
// If a handle is registered for this path and method, the router delegates the
// request to that function.
// For the methods GET, POST, PUT, PATCH and DELETE shortcut functions exist to
// For the methods GET, POST, PUT, PATCH, DELETE and OPTIONS shortcut functions exist to
// register handles, for all other methods router.Handle can be used.
//
// The registered path, against which the router matches incoming requests, can
Expand Down

0 comments on commit 8c9f31f

Please sign in to comment.