a991b9dc by Vangelis Tsoumenis

Removes unused FormType map from templatefunc

1 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 {
327 return nil 327 return nil
328 } 328 }
329 329
330 // form types for RenderForm function
331 var FormType = map[string]bool{
332 "text": true,
333 "textarea": true,
334 "hidden": true,
335 "password": true,
336 }
337 330
338 var unKind = map[reflect.Kind]bool{ 331 var unKind = map[reflect.Kind]bool{
339 reflect.Uintptr: true, 332 reflect.Uintptr: true,
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!