all type check, no panic

This commit is contained in:
iacore
2024-08-27 14:49:19 +00:00
parent 68deed7e00
commit 12be0ce3fc
4 changed files with 71 additions and 52 deletions
+6 -2
View File
@@ -21,6 +21,10 @@ Idea: we create a compat layer of {w, r} that has the same API as *fiber.Ctx.
## Tips
To access `/:abc`, use `r.PathValue("abc")`.
- To access `/:abc`, use `r.PathValue("abc")`.
- Want to associate arbitrary value with a request? Use `r.Context.Value()`.
- Don't use `r.Response`. It's `nil`.
Want to associate arbitrary value with a request? Use `r.Context.Value()`.
## todo
- correct redirect status codes. currently i put in whatever.