Commit a991b9dc authored by Vangelis Tsoumenis's avatar Vangelis Tsoumenis

Removes unused FormType map from templatefunc

parent 3fe9e6a2
...@@ -327,13 +327,6 @@ func ParseForm(form url.Values, obj interface{}) error { ...@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment