From ff6dc0bc519886905e758a84e572f5e34d6c03d1 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Thu, 26 Jan 2023 22:31:32 -0700 Subject: Move things between files --- struct.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'struct.go') diff --git a/struct.go b/struct.go index 24b2ac0..b7fc287 100644 --- a/struct.go +++ b/struct.go @@ -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 = "" -- cgit v1.2.3-54-g00ecf