From ff59042e2ea29bc131735627a004d9db2e410742 Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Mon, 11 Mar 2013 18:40:54 -0500 Subject: Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ebea379..ed3a9fd 100644 --- a/README.md +++ b/README.md @@ -31,11 +31,12 @@ $ go get github.com/davecgh/go-spew/spew ## Quick Start To dump a variable with full newlines, indentation, type, and pointer -information use Dump or Fdump: +information use Dump, Fdump, or Sdump: ```Go spew.Dump(myVar1, myVar2, ...) spew.Fdump(someWriter, myVar1, myVar2, ...) +str := spew.Sdump(myVar1, myVar2, ...) ``` Alternatively, if you would prefer to use format strings with a compacted inline -- cgit v1.2.3