NewClientContextFormat returns a Format for rendering using a Context
(source string, quiet bool)
| 12 | |
| 13 | // NewClientContextFormat returns a Format for rendering using a Context |
| 14 | func NewClientContextFormat(source string, quiet bool) Format { |
| 15 | if quiet { |
| 16 | return quietContextFormat |
| 17 | } |
| 18 | if source == TableFormatKey { |
| 19 | return ClientContextTableFormat |
| 20 | } |
| 21 | return Format(source) |
| 22 | } |
| 23 | |
| 24 | // ClientContext is a context for display |
| 25 | type ClientContext struct { |
nothing calls this directly
no test coverage detected
searching dependent graphs…