BasicTextPrinter is the printer used to print the input as-is or as specified by user formatting.
| 13 | |
| 14 | // BasicTextPrinter is the printer used to print the input as-is or as specified by user formatting. |
| 15 | type BasicTextPrinter struct { |
| 16 | Style *Style |
| 17 | Writer io.Writer |
| 18 | } |
| 19 | |
| 20 | // WithStyle adds a style to the printer. |
| 21 | func (p BasicTextPrinter) WithStyle(style *Style) *BasicTextPrinter { |
nothing calls this directly
no outgoing calls
no test coverage detected