docs: 修复文档中的API方法名和参数错误

- 更新quickstart.md中的Go版本要求为1.26
- 修复routing.md中使用setter方法而不是直接属性赋值
- 修复middleware.md中GetHeader为GetReqHeader
- 更新context.md移除未实现的binding标签
- 修复static-files.md中SetUnMatchFS的参数签名
- 修复advanced.md中SetMaxReader为SetGlobalMaxRequestBodySize
This commit is contained in:
WJQSERVER 2026-03-22 09:27:20 +08:00
parent c4c0160b5f
commit 8af515059a
6 changed files with 9 additions and 9 deletions

View file

@ -78,8 +78,8 @@ Touka 允许您自定义路由匹配的行为:
```go
r := touka.New()
r.RedirectTrailingSlash = true
r.HandleMethodNotAllowed = true
r.SetRedirectTrailingSlash(true)
r.SetHandleMethodNotAllowed(true)
```
## 获取已注册路由信息