Skip to content

Commit a4bd8e3

Browse files
authored
Fix typo in error string (#886)
closes #883
1 parent 36ee3aa commit a4bd8e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

helper/schema/field_writer_map.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ func (w *MapFieldWriter) setMap(
174174
return fmt.Errorf("%s: must be a map", k)
175175
}
176176
if v.Type().Key().Kind() != reflect.String {
177-
return fmt.Errorf("%s: keys must strings", k)
177+
return fmt.Errorf("%s: keys must be strings", k)
178178
}
179179
for _, mk := range v.MapKeys() {
180180
mv := v.MapIndex(mk)

0 commit comments

Comments
 (0)