* NewFormatter returns a custom formatter that satisfies the fmt.Formatter interface. As a result, it integrates cleanly with standard fmt package printing functions. The formatter is useful for inline printing of smaller data types similar to the standard %v format specifier. The custom formatte
(v interface{})
| 238 | c.Printf, c.Println, or c.Printf. |
| 239 | */ |
| 240 | func (c *ConfigState) NewFormatter(v interface{}) fmt.Formatter { |
| 241 | return newFormatter(c, v) |
| 242 | } |
| 243 | |
| 244 | // Fdump formats and displays the passed arguments to io.Writer w. It formats |
| 245 | // exactly the same as Dump. |