diff options
| author | Dave Collins <[email protected]> | 2013-03-11 18:40:54 -0500 |
|---|---|---|
| committer | Dave Collins <[email protected]> | 2013-03-11 18:40:54 -0500 |
| commit | ff59042e2ea29bc131735627a004d9db2e410742 (patch) | |
| tree | e628cf0fc9707e8493a291c83830056a8c23f33a | |
| parent | 691853c424822ac845289705cbdf151bbb22e53b (diff) | |
Update README.md
| -rw-r--r-- | README.md | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |
