Debian Codegraph @

internal/spew/README.md

raw symbols SCIP
1 # spew
2
3 Upstream: <https://github.com/davecgh/go-spew> (ISC licensed).
4
5 Version copied: v1.1.1.
6
7 Reason: upstream repository is archived/unmaintained (last release 2018);
8 vendored to avoid an external dependency.
9
10 Local changes policy: only the subset needed for `ConfigState.Sdump` is included.
11
12 `common.go` patches two `.Interface()` call sites in the map-key sort path
13 to route unexported map keys (array or struct keys)
14 through the existing `unsafeReflectValue` bypass,
15 fixing a panic on `reflect.Value.Interface: cannot return value obtained from
16 unexported field or method` (go-spew#108, unfixed upstream).
17 The vendored copy intentionally diverges from upstream v1.1.1 in this respect.