add readme

This commit is contained in:
2024-07-22 14:31:55 +08:00
parent cc98043aff
commit 8997577181
3 changed files with 121 additions and 3 deletions

View File

@ -34,9 +34,11 @@ type TestForm struct {
Meta `tag:"测试表单" path:"/a/b/c/d" desc:"测试接口" method:"get" strict:"true"`
Age int `json:"age" form:"age"`
Name string `json:"name" form:"name"`
Test struct {
L string `json:"l"`
} `json:"test" form:"test"`
Test *Test `json:"test" form:"test"`
Num *int64 `json:"num" form:"num"`
}
type Test struct {
L string `json:"l"`
}
func Test_parseController(t *testing.T) {