diff options
| author | Dave Collins <[email protected]> | 2016-10-29 15:03:44 -0500 |
|---|---|---|
| committer | Dave Collins <[email protected]> | 2016-10-29 15:03:44 -0500 |
| commit | bae5ef75ff3187eed073265fed13837823b40db0 (patch) | |
| tree | f7d848a62046f859fa1317547c549e478ef0e8df /spew/doc.go | |
| parent | 04cdfd42973bb9c8589fd6a731800cf222fde1a9 (diff) | |
Update doc.go/README.md with new config options.
Diffstat (limited to 'spew/doc.go')
| -rw-r--r-- | spew/doc.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/spew/doc.go b/spew/doc.go index 5be0c40..1ee1e5e 100644 --- a/spew/doc.go +++ b/spew/doc.go @@ -91,6 +91,15 @@ The following configuration options are available: which only accept pointer receivers from non-pointer variables. Pointer method invocation is enabled by default. + * DisablePointerAddresses + DisablePointerAddresses specifies whether to disable the printing of + pointer addresses. This is useful when diffing data structures in tests. + + * DisableCapacities + DisableCapacities specifies whether to disable the printing of + capacities for arrays, slices, maps and channels. This is useful when + diffing data structures in tests. + * ContinueOnMethod Enables recursion into types after invoking error and Stringer interface methods. Recursion after method invocation is disabled by default. |
