diff options
author | Anthony HAMON <hamon.anth@gmail.com> | 2018-09-02 17:18:33 +0200 |
---|---|---|
committer | Anthony HAMON <hamon.anth@gmail.com> | 2018-09-04 06:21:58 +0200 |
commit | 06846ef3ae9aed88ff6249cc2fd5bdbe0a55bdc3 (patch) | |
tree | 49543283cde0e6e13625c8550d910400861b4a35 /pkg/app | |
parent | 43ad9a81c282022203e45ae3088b93763320bccc (diff) |
rename NewApp to Setup
Diffstat (limited to 'pkg/app')
-rw-r--r-- | pkg/app/app.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/app/app.go b/pkg/app/app.go index fa2415fc3..b03ec5b42 100644 --- a/pkg/app/app.go +++ b/pkg/app/app.go @@ -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, |