summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2023-02-10 19:58:52 -0700
committerLuke Shumaker <lukeshu@lukeshu.com>2023-02-10 21:44:42 -0700
commit0ce1d3e727ea347c3588f96be8a356fa6ea3bc0e (patch)
tree814b6a2d689fdba1266f59cf3a19079d1b99f354 /internal
parente9f3bdc767027d134a072e09f16bcccac75fa59f (diff)
tree-wide: Update various references from Go 1.18 to Go 1.20
Diffstat (limited to 'internal')
-rw-r--r--internal/jsonstruct/struct.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/jsonstruct/struct.go b/internal/jsonstruct/struct.go
index 16c45de..20e82ca 100644
--- a/internal/jsonstruct/struct.go
+++ b/internal/jsonstruct/struct.go
@@ -63,7 +63,7 @@ func indexStructReal(typ reflect.Type) StructIndex {
ret.ByName[name] = len(ret.ByPos)
ret.ByPos = append(ret.ByPos, _field)
default:
- // To quote the encoding/json docs (version 1.18.4):
+ // To quote the encoding/json docs (version 1.20):
//
// If there are multiple fields at the same level, and that level is the
// least nested (and would therefore be the nesting level selected by the