Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
crhntr authored Nov 21, 2024
1 parent 74debb2 commit de5c964
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func execute(http.ResponseWriter, *http.Request, bool, string, int, any) {}
You can also map path values from the path pattern to identifiers and pass them to your handler.


Given `{{define "GET /articles/:id ReadArticle(ctx, id)"}}{{end}}`,
Given `{{define "GET /articles/{id} ReadArticle(ctx, id)"}}{{end}}`,

You will get a handler generated like this:

Expand Down

0 comments on commit de5c964

Please sign in to comment.