We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Value.Elem
reflect.Indirect
1 parent e9b3146 commit 552a9dcCopy full SHA for 552a9dc
internal/template/template.go
@@ -29,7 +29,7 @@ func getArrayValues(funcName string, entries interface{}) (*reflect.Value, error
29
kind := entriesVal.Kind()
30
31
if kind == reflect.Ptr {
32
- entriesVal = reflect.Indirect(entriesVal)
+ entriesVal = entriesVal.Elem()
33
kind = entriesVal.Kind()
34
}
35
0 commit comments