diff options
Diffstat (limited to 'internal')
-rw-r--r-- | internal/jsonstruct/struct.go | 2 | ||||
-rw-r--r-- | internal/jsontest/jsontest.go | 14 |
2 files changed, 1 insertions, 15 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 diff --git a/internal/jsontest/jsontest.go b/internal/jsontest/jsontest.go deleted file mode 100644 index fbc775d..0000000 --- a/internal/jsontest/jsontest.go +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright (C) 2022-2023 Luke Shumaker <lukeshu@lukeshu.com> -// -// SPDX-License-Identifier: GPL-2.0-or-later - -package jsontest - -import ( - "io" -) - -var ( - EncodeStringFromBytes func(io.Writer, []byte) - EncodeStringFromString func(io.Writer, string) -) |