5.07 Context-处理输入之表单输入
(base) yanglei@yuanhong 03-formValue % tree ./
./
├── context.go
├── handleFunc.go
├── httpServer.go
├── httpServer_test.go
├── matchNode.go
├── node.go
├── router.go
├── router_test.go
└── serverInterface.go
0 directories, 9 filesPART1. http.Request.Form与http.Request.PostForm的区别
http.Request.Form与http.Request.PostForm的区别

PART2. 实现Context.FormValue()方法
Context.FormValue()方法2.1 完全自行实现
2.2 依赖原生API的实现
PART3. 相关问题
3.1 多次调用Context.FormValue()方法是否会造成重复解析?
Context.FormValue()方法是否会造成重复解析?3.2 是否需要提供返回其他数据类型的API?
Last updated