From a1d6c1bc18f074b84a13afac5640c9f350f90786 Mon Sep 17 00:00:00 2001 From: Ikko Ashimine Date: Mon, 14 Jun 2021 11:58:48 +0900 Subject: [PATCH] Fix typo in templatefunc.go wether -> whether --- server/web/templatefunc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/web/templatefunc.go b/server/web/templatefunc.go index b0bae19c..ef0e001f 100644 --- a/server/web/templatefunc.go +++ b/server/web/templatefunc.go @@ -503,7 +503,7 @@ func isValidForInput(fType string) bool { } // parseFormTag takes the stuct-tag of a StructField and parses the `form` value. -// returned are the form label, name-property, type and wether the field should be ignored. +// returned are the form label, name-property, type and whether the field should be ignored. func parseFormTag(fieldT reflect.StructField) (label, name, fType string, id string, class string, ignored bool, required bool) { tags := strings.Split(fieldT.Tag.Get("form"), ",") label = fieldT.Name + ": "