From 14dde4b9f2401901747f24f8c48700f87ef74ade Mon Sep 17 00:00:00 2001 From: Joakim Lundborg Date: Thu, 11 Jun 2015 16:14:36 +0200 Subject: [PATCH] Correct error message --- preload.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/preload.go b/preload.go index f1c0fae5..03910c44 100644 --- a/preload.go +++ b/preload.go @@ -70,7 +70,7 @@ func Preload(scope *Scope) { if value.Kind() == reflect.Slice && value.Type().Elem().Kind() == reflect.Interface { value = value.Index(0).Elem() } - scope.Err(fmt.Errorf("can't found field %s in %s", key, value.Type())) + scope.Err(fmt.Errorf("can't find field %s in %s", key, value.Type())) return }