summaryrefslogtreecommitdiff
path: root/spew/config.go
diff options
context:
space:
mode:
authorDave Collins <[email protected]>2013-03-11 18:37:09 -0500
committerDave Collins <[email protected]>2013-03-11 18:37:09 -0500
commit691853c424822ac845289705cbdf151bbb22e53b (patch)
treef9ebe8e5a6a112ff798b996cc7943098c97e150a /spew/config.go
parent7cfc3ff9658889926d0f1b3f3b4a2cf3dbe73f99 (diff)
Update docs for new Sdump function.
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 80e8d74..a2eab61 100644
--- a/spew/config.go
+++ b/spew/config.go
@@ -242,7 +242,8 @@ package:
The configuration options are controlled by modifying the public members
of c. See ConfigState for options documentation.
-See Fdump if you would prefer dumping to an arbitrary io.Writer.
+See Fdump if you would prefer dumping to an arbitrary io.Writer or Sdump to
+get the formatted result as a string.
*/
func (c *ConfigState) Dump(a ...interface{}) {
fdump(c, os.Stdout, a...)