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.
1 parent 6045d2e commit 6ec4585Copy full SHA for 6ec4585
internal/hscan/structmap.go
@@ -89,7 +89,7 @@ func (s StructValue) Scan(key string, value string) error {
89
}
90
91
v := s.value.Field(field.index)
92
- isPtr := v.Kind() == reflect.Pointer
+ isPtr := v.Kind() == reflect.Ptr
93
94
if isPtr && v.IsNil() {
95
v.Set(reflect.New(v.Type().Elem()))
0 commit comments