aboutsummaryrefslogtreecommitdiff
path: root/jsonmatch/interface.go
diff options
context:
space:
mode:
authorStefan Majewsky <majewsky@gmx.net>2025-11-26 14:13:49 +0100
committerStefan Majewsky <majewsky@gmx.net>2025-11-26 14:13:49 +0100
commit3f447c28466911e234d421eb7e3310e14c30dfa9 (patch)
treecc69ba1700c482b69be151bcf1ed874380a18081 /jsonmatch/interface.go
parentd9dde5ed3a0a297ccd2f2ccc17e82dae38046a84 (diff)
downloadgo-gg-3f447c28466911e234d421eb7e3310e14c30dfa9.tar.gz
jsonmatch: fix missing type reference in docstring
Diffstat (limited to 'jsonmatch/interface.go')
-rw-r--r--jsonmatch/interface.go2
1 files changed, 1 insertions, 1 deletions
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 {