From 3f447c28466911e234d421eb7e3310e14c30dfa9 Mon Sep 17 00:00:00 2001 From: Stefan Majewsky Date: Wed, 26 Nov 2025 14:13:49 +0100 Subject: jsonmatch: fix missing type reference in docstring --- jsonmatch/interface.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jsonmatch/interface.go') diff --git a/jsonmatch/interface.go b/jsonmatch/interface.go index 99bbb9f..de6ef81 100644 --- a/jsonmatch/interface.go +++ b/jsonmatch/interface.go @@ -157,7 +157,7 @@ import ( // { Kind: "value mismatch", Pointer: "/things/1/id", ExpectedJSON: "2", ActualJSON: "3" }, // } // -// However, the implementation will only recurse into substructures of the following well-known types: jsonmatch.Object, map[string]any, jsonmatch.Array, []any, []map[string]any. +// However, the implementation will only recurse into substructures of the following well-known types: jsonmatch.Object, map[string]any, jsonmatch.Array, []any, []jsonmatch.Object, []map[string]any. // Any other map, array, slice, struct or pointer type will be treated as a black box: // If its JSON serialization differs from that of the respective section of the actual payload, a diff will be generated for its entirety only, not for any specific subfields. type Diffable interface { -- cgit v1.2.3