summaryrefslogtreecommitdiff
path: root/struct.go
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2023-02-07 12:18:29 -0700
committerLuke Shumaker <lukeshu@lukeshu.com>2023-02-07 14:05:26 -0700
commit2b9473f5e8816eeea76b2fdada184532be00d3a2 (patch)
tree387757b00f02521d1b3824a0e92f7778dbd32440 /struct.go
parenteab38672b2467810592b61fe5b0067086d3cbd2c (diff)
internal: Split in to sub-packages
Diffstat (limited to 'struct.go')
-rw-r--r--struct.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/struct.go b/struct.go
index 81bc22d..5ccb62f 100644
--- a/struct.go
+++ b/struct.go
@@ -9,7 +9,7 @@ import (
"git.lukeshu.com/go/typedsync"
- "git.lukeshu.com/go/lowmemjson/internal"
+ "git.lukeshu.com/go/lowmemjson/internal/jsontags"
)
type structField struct {
@@ -157,7 +157,7 @@ func indexStructInner(typ reflect.Type, byPos *[]structField, byName map[string]
if tag == "-" {
continue
}
- tagName, opts := internal.ParseTag(tag)
+ tagName, opts := jsontags.ParseTag(tag)
name := tagName
if !isValidTag(name) {
name = ""