1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-26 05:01:28 +00:00

Removes unused FormType map from templatefunc

This commit is contained in:
Vangelis Tsoumenis 2014-06-29 19:29:43 +02:00
parent 3fe9e6a28a
commit a991b9dcde

View File

@ -327,13 +327,6 @@ func ParseForm(form url.Values, obj interface{}) error {
return nil 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{ var unKind = map[reflect.Kind]bool{
reflect.Uintptr: true, reflect.Uintptr: true,