convertArgs accepts a slice of arguments and returns a slice of the same length with each argument converted to a spew Formatter interface using the ConfigState associated with s.
(args []interface{})
| 286 | // length with each argument converted to a spew Formatter interface using |
| 287 | // the ConfigState associated with s. |
| 288 | func (c *ConfigState) convertArgs(args []interface{}) (formatters []interface{}) { |
| 289 | formatters = make([]interface{}, len(args)) |
| 290 | for index, arg := range args { |
| 291 | formatters[index] = newFormatter(c, arg) |
| 292 | } |
| 293 | return formatters |
| 294 | } |
| 295 | |
| 296 | // NewDefaultConfig returns a ConfigState with the following default settings. |
| 297 | // |