| 53 | } |
| 54 | |
| 55 | type terminalUI struct { |
| 56 | stdin io.Reader |
| 57 | stdout io.Writer |
| 58 | printer Printer |
| 59 | logger trace.Printer |
| 60 | scanner *bufio.Scanner |
| 61 | } |
| 62 | |
| 63 | func NewUI(r io.Reader, w io.Writer, printer Printer, logger trace.Printer) UI { |
| 64 | return &terminalUI{ |
nothing calls this directly
no outgoing calls
no test coverage detected