Skip to content

Commit 2ff855e

Browse files
author
a.groshev
committed
cfg
1 parent 93549fc commit 2ff855e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

application/App.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ func New() *Application {
3838
return &Application{
3939
deps: make([]func() *Dependency, 0),
4040
List: make(map[string]any),
41-
Cfg: NewConfiguration(),
41+
Cfg: NewConfig(),
4242
init: make(map[string]func(cfg *Config, list map[string]any) (any, error)),
4343
start: make(map[string]func(cfg *Config, dep any) error),
4444
depLists: [][]string{},
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ type Config struct {
1212
configReader *viper.Viper
1313
}
1414

15-
func NewConfiguration() *Config {
15+
func NewConfig() *Config {
1616
return &Config{
1717
configReader: viper.GetViper(),
1818
}

0 commit comments

Comments
 (0)