Update README.md
This commit is contained in:
parent
13fc9b8d2f
commit
c2fe715681
13
README.md
13
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
|
convenience, all of the top-level functions use a global state available via the
|
||||||
spew.Config global.
|
spew.Config global.
|
||||||
|
|
||||||
It is also possible to create a SpewState instance which provides a unique
|
It is also possible to create a ConfigState instance that provides methods
|
||||||
ConfigState accessible via the Config method. The methods of SpewState are
|
|
||||||
equivalent to the top-level functions. This allows concurrent configuration
|
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
|
* Indent
|
||||||
String to use for each indentation level for Dump functions.
|
String to use for each indentation level for Dump functions.
|
||||||
It is a single space by default. A popular alternative is "\t".
|
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
|
* DisableMethods
|
||||||
Disables invocation of error and Stringer interface methods.
|
Disables invocation of error and Stringer interface methods.
|
||||||
Method invocation is enabled by default.
|
Method invocation is enabled by default.
|
||||||
|
|
Loading…
Reference in New Issue