summaryrefslogtreecommitdiff
path: root/spew/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'spew/config.go')
-rw-r--r--spew/config.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/spew/config.go b/spew/config.go
index 1faca1b..d766dfb 100644
--- a/spew/config.go
+++ b/spew/config.go
@@ -77,7 +77,8 @@ type ConfigState struct {
// SortKeys specifies map keys should be sorted before being printed. Use
// this to have a more deterministic, diffable output. Note that only
// native types (bool, int, uint, floats, uintptr and string) are supported,
- // other key sequences will displayed in the original order.
+ // other types will be sort according to the reflect.Value.String() output
+ // which guarantees display stability.
SortKeys bool
}