From 0ce1d3e727ea347c3588f96be8a356fa6ea3bc0e Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 10 Feb 2023 19:58:52 -0700 Subject: tree-wide: Update various references from Go 1.18 to Go 1.20 --- internal/jsonstruct/struct.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/jsonstruct') 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 -- cgit v1.2.3-2-g168b