summaryrefslogtreecommitdiff
path: root/spew/doc.go
diff options
context:
space:
mode:
authorDave Collins <[email protected]>2013-03-03 12:23:56 -0600
committerDave Collins <[email protected]>2013-03-03 12:59:13 -0600
commit9dfc23886547f6515837b0d94c156252fcca83fc (patch)
tree926db96f954fb343a9a793dd0acaaa406ab9d38a /spew/doc.go
parent6d6046a9de11932943e5ef05d72c0ee2f02f1797 (diff)
Cleanup documentation on new ContinueOnMethod code.
This commit expands on TShadwell's work attached to issue #8. It rounds out the documentation for the new option.
Diffstat (limited to 'spew/doc.go')
-rw-r--r--spew/doc.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/spew/doc.go b/spew/doc.go
index b899269..2e5acb2 100644
--- a/spew/doc.go
+++ b/spew/doc.go
@@ -87,6 +87,10 @@ The following configuration options are available:
which only accept pointer receivers from non-pointer variables.
Pointer method invocation is enabled by default.
+ * ContinueOnMethod
+ Enables recursion into types after invoking error and Stringer interface
+ methods. Recursion after method invocation is disabled by default.
+
Dump Usage
Simply call spew.Dump with a list of variables you want to dump: