| 28 | } |
| 29 | |
| 30 | type App struct { |
| 31 | io *iostreams.IOStreams |
| 32 | apiClient apiClient |
| 33 | errLogger *log.Logger |
| 34 | executable executable |
| 35 | browser browser.Browser |
| 36 | remotes func() (clicontext.Remotes, error) |
| 37 | } |
| 38 | |
| 39 | func NewApp(io *iostreams.IOStreams, exe executable, apiClient apiClient, browser browser.Browser, remotes func() (clicontext.Remotes, error)) *App { |
| 40 | errLogger := log.New(io.ErrOut, "", 0) |
nothing calls this directly
no outgoing calls
no test coverage detected