mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 13:40:55 +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