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 d0cf28a commit ea1817dCopy full SHA for ea1817d
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