Update config.go
This commit is contained in:
parent
d87d7f04b0
commit
f8eabbc2c9
|
@ -106,7 +106,7 @@ type ConfigState struct {
|
||||||
|
|
||||||
// Config is the active configuration of the top-level functions.
|
// Config is the active configuration of the top-level functions.
|
||||||
// The configuration can be changed by modifying the contents of spew.Config.
|
// The configuration can be changed by modifying the contents of spew.Config.
|
||||||
var Config = ConfigState{Indent: " ", ignoreFieldByName: make(map[string]bool), ignoreFieldByType: make(map[string]bool)}
|
var Config = ConfigState{Indent: " ", ignoreFieldByName: make(map[string]bool), ignoreFieldByType: make(map[string]bool), SortKeys:true, DisablePointerAddresses:true}
|
||||||
|
|
||||||
// Errorf is a wrapper for fmt.Errorf that treats each argument as if it were
|
// Errorf is a wrapper for fmt.Errorf that treats each argument as if it were
|
||||||
// passed with a Formatter interface returned by c.NewFormatter. It returns
|
// passed with a Formatter interface returned by c.NewFormatter. It returns
|
||||||
|
|
Loading…
Reference in New Issue