Fix typo in templatefunc.go
wether -> whether
This commit is contained in:
parent
f79dfcff8d
commit
a1d6c1bc18
@ -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 + ": "
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user