diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2023-01-26 22:31:32 -0700 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2023-01-29 21:01:42 -0700 |
commit | ff6dc0bc519886905e758a84e572f5e34d6c03d1 (patch) | |
tree | 8906c4b8bb0c7dc468419efc17b872db62a4e068 /struct.go | |
parent | d1b5bc1f05624614f43ef85597f4aa9d7a166d23 (diff) |
Move things between files
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 = "" |