diff options
Diffstat (limited to 'spew/config.go')
| -rw-r--r-- | spew/config.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/spew/config.go b/spew/config.go index 5552827..9db83c6 100644 --- a/spew/config.go +++ b/spew/config.go @@ -67,6 +67,15 @@ type ConfigState struct { // Google App Engine or with the "safe" build tag specified. DisablePointerMethods bool + // DisablePointerAddresses specifies whether to disable the printing of + // pointer addresses. This is useful when diffing data structures in tests. + DisablePointerAddresses bool + + // DisableCapacities specifies whether to disable the printing of capacities + // for arrays, slices, maps and channels. This is useful when diffing + // data structures in tests. + DisableCapacities bool + // ContinueOnMethod specifies whether or not recursion should continue once // a custom error or Stringer interface is invoked. The default, false, // means it will print the results of invoking the custom error or Stringer |
