支持gin请求表单解析

This commit is contained in:
2022-07-03 00:56:37 +08:00
parent 0e469953bd
commit 0e14eb64d1
3 changed files with 129 additions and 0 deletions

20
request/init.go Normal file
View File

@ -0,0 +1,20 @@
// Package request ...
//
// Description : request ...
//
// Author : go_developer@163.com<白茶清欢>
//
// Date : 2022-07-03 00:52
package request
var (
// Form 表单相关操作
Form *form
// ContentType 请求类型
ContentType *contentType
)
func init() {
Form = &form{}
ContentType = &contentType{}
}