summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Collins <[email protected]>2013-01-19 19:21:03 -0600
committerDave Collins <[email protected]>2013-01-19 19:21:03 -0600
commitc2fe715681e9f04d71db02e827e48fa80c1f0ee3 (patch)
treec92d2e529d7b5b004cbde3f23dbd9550e5c93953
parent13fc9b8d2f9442ecc1754b1738a97cf0a0754e92 (diff)
Update README.md
-rw-r--r--README.md13
1 files changed, 6 insertions, 7 deletions
diff --git a/README.md b/README.md
index be5396d..14c9bd0 100644
--- a/README.md
+++ b/README.md
@@ -88,20 +88,19 @@ Configuration of spew is handled by fields in the ConfigState type. For
convenience, all of the top-level functions use a global state available via the
spew.Config global.
-It is also possible to create a SpewState instance which provides a unique
-ConfigState accessible via the Config method. The methods of SpewState are
+It is also possible to create a ConfigState instance that provides methods
equivalent to the top-level functions. This allows concurrent configuration
-options. See the SpewState documentation for more details.
+options. See the ConfigState documentation for more details.
```
-* MaxDepth
- Maximum number of levels to descend into nested data structures.
- There is no limit by default.
-
* Indent
String to use for each indentation level for Dump functions.
It is a single space by default. A popular alternative is "\t".
+* MaxDepth
+ Maximum number of levels to descend into nested data structures.
+ There is no limit by default.
+
* DisableMethods
Disables invocation of error and Stringer interface methods.
Method invocation is enabled by default.