diff options
Diffstat (limited to 'struct.go')
-rw-r--r-- | struct.go | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -6,6 +6,8 @@ package lowmemjson import ( "reflect" + + "git.lukeshu.com/go/lowmemjson/internal" ) type structField struct { @@ -143,7 +145,7 @@ func indexStructInner(typ reflect.Type, byPos *[]structField, byName map[string] if tag == "-" { continue } - tagName, opts := parseTag(tag) + tagName, opts := internal.ParseTag(tag) name := tagName if !isValidTag(name) { name = "" |