1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-08-09 09:22:48 +03:00

rename NewApp to Setup

This commit is contained in:
Anthony HAMON
2018-09-02 17:18:33 +02:00
parent 43ad9a81c2
commit 06846ef3ae
3 changed files with 45 additions and 3 deletions

View File

@@ -65,8 +65,8 @@ func newLogger(config config.AppConfigurer) *logrus.Entry {
})
}
// NewApp retruns a new applications
func NewApp(config config.AppConfigurer) (*App, error) {
// Setup bootstrap a new application
func Setup(config config.AppConfigurer) (*App, error) {
app := &App{
closers: []io.Closer{},
Config: config,