Ver Fonte

Add SortKeys option to doco for NewDefaultConfig.

Dave Collins há 12 anos atrás
pai
commit
1a05ce86a9
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      spew/config.go

+ 1 - 0
spew/config.go

@@ -282,6 +282,7 @@ func (c *ConfigState) convertArgs(args []interface{}) (formatters []interface{})
 // 	DisableMethods: false
 // 	DisablePointerMethods: false
 // 	ContinueOnMethod: false
+// 	SortKeys: false
 func NewDefaultConfig() *ConfigState {
 	return &ConfigState{Indent: " "}
 }