Browse Source

Add SortKeys option to doco for NewDefaultConfig.

Dave Collins 12 năm trước cách đây
mục cha
commit
1a05ce86a9
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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: " "}
 }