summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathias Magnusson <mathias@magnusson.space>2026-01-23 19:49:25 +0100
committerMathias Magnusson <mathias@magnusson.space>2026-01-23 19:51:11 +0100
commit0471eb909e312a1cc3ed8c878c1c050a0ae253bb (patch)
tree329e8f1a3cc7dee1fa521e6b25c4e2e72488de5d
parent1bcb9bd6345c28da9c18ab4e820d58942d3fe74e (diff)
downloadhh-0471eb909e312a1cc3ed8c878c1c050a0ae253bb.tar.gz
rename `r.r` to `r.raw` in example
-rw-r--r--examples/basic.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/basic.go b/examples/basic.go
index 693ef57..7f09d0f 100644
--- a/examples/basic.go
+++ b/examples/basic.go
@@ -13,7 +13,7 @@ import (
//
//hh:route GET /org/{orgID}/users
func adminUsersForm(w http.ResponseWriter, r struct {
- r *http.Request
+ raw *http.Request
search string `hh:"form"`
year int `hh:"optional,form"`
offset int `hh:"form"`