From a991b9dcdea080ff3bd6586b44e775e7759e7ac5 Mon Sep 17 00:00:00 2001 From: Vangelis Tsoumenis Date: Sun, 29 Jun 2014 19:29:43 +0200 Subject: [PATCH] Removes unused FormType map from templatefunc --- templatefunc.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/templatefunc.go b/templatefunc.go index 3d42321b..f51eaac4 100644 --- a/templatefunc.go +++ b/templatefunc.go @@ -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,