From 6ec458549ed0808ec57c303df9c922aba9520e14 Mon Sep 17 00:00:00 2001 From: Chandra Eepuri <54019901+eepurichandra@users.noreply.github.com> Date: Fri, 24 Feb 2023 11:17:58 +0530 Subject: [PATCH] Pointer -> Ptr (#2458) --- internal/hscan/structmap.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/hscan/structmap.go b/internal/hscan/structmap.go index 8d6028ef..234079f0 100644 --- a/internal/hscan/structmap.go +++ b/internal/hscan/structmap.go @@ -89,7 +89,7 @@ func (s StructValue) Scan(key string, value string) error { } v := s.value.Field(field.index) - isPtr := v.Kind() == reflect.Pointer + isPtr := v.Kind() == reflect.Ptr if isPtr && v.IsNil() { v.Set(reflect.New(v.Type().Elem()))