From c2fe715681e9f04d71db02e827e48fa80c1f0ee3 Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Sat, 19 Jan 2013 19:21:03 -0600 Subject: [PATCH] Update README.md --- README.md | 13 ++++++------- 1 file 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.