summaryrefslogtreecommitdiff
path: root/struct.go
diff options
context:
space:
mode:
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 = ""