From 4915d2db12b8dcc20b4153354281a613d7af3300 Mon Sep 17 00:00:00 2001 From: Thomas LE ROUX Date: Wed, 20 Mar 2019 23:47:38 +0100 Subject: [PATCH] fix: gofmt --- reflectx/fields.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reflectx/fields.go b/reflectx/fields.go index ed30239..7cc549c 100644 --- a/reflectx/fields.go +++ b/reflectx/fields.go @@ -91,7 +91,7 @@ func GetFieldValueWithIndexes(value reflect.Value, indexes []int) (interface{}, if !value.CanInterface() { return nil, errors.Errorf("makroud: cannot find required field in %T", value) } - + return value.Interface(), nil }