From 034a2a5a5e92d7264ec7558d20f4d7746506ee8f Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Sat, 12 Jan 2013 12:06:59 -0600 Subject: Implement support for unqiue config instances. This commit adds a new type, SpewState, which can be used to create instances with unique configuration options. The methods of SpewState are equivalent to the top-level functions. Full documentation and examples are included. --- spew/config.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'spew/config.go') diff --git a/spew/config.go b/spew/config.go index 542f457..e32b224 100644 --- a/spew/config.go +++ b/spew/config.go @@ -55,3 +55,5 @@ type ConfigState struct { // Config is the active configuration in use by spew. The configuration // can be changed by modifying the contents of spew.Config. var Config ConfigState = ConfigState{Indent: " "} + +var defaultConfig = ConfigState{Indent: " "} \ No newline at end of file -- cgit v1.2.3