mirror of
https://github.com/astaxie/beego.git
synced 2024-12-23 08:50:50 +00:00
Removes unused FormType map from templatefunc
This commit is contained in:
parent
3fe9e6a28a
commit
a991b9dcde
@ -327,13 +327,6 @@ func ParseForm(form url.Values, obj interface{}) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// form types for RenderForm function
|
||||
var FormType = map[string]bool{
|
||||
"text": true,
|
||||
"textarea": true,
|
||||
"hidden": true,
|
||||
"password": true,
|
||||
}
|
||||
|
||||
var unKind = map[reflect.Kind]bool{
|
||||
reflect.Uintptr: true,
|
||||
|
Loading…
Reference in New Issue
Block a user