Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct { Config config.AppConfigurer Log *logrus.Entry OSCommand *commands.OSCommand GitCommand *commands.GitCommand Gui *gui.Gui Tr *i18n.Localizer Updater *updates.Updater // may only need this on the Gui ClientContext string // contains filtered or unexported fields }
App struct
func NewApp ¶
func NewApp(config config.AppConfigurer) (*App, error)
NewApp bootstrap a new application
func (*App) KnownError ¶ added in v0.8.2
KnownError takes an error and tells us whether it's an error that we know about where we can print a nicely formatted version of it rather than panicking with a stack trace
Click to show internal directories.
Click to hide internal directories.