Draft: First draft of new fiber based server #7

Merged
baez90 merged 16 commits from migrate-to-fiber into master 2022-03-15 16:39:37 +00:00
Showing only changes of commit 234929e5ed - Show all commits

View file

@ -24,11 +24,11 @@ func Load(workingDir, configFile string) (cfg *Components, err error) {
return nil, err return nil, err
} else { } else {
loader.AddConfigPath(home) loader.AddConfigPath(home)
}
loader.AddConfigPath(workingDir) loader.AddConfigPath(workingDir)
loader.SetConfigName("goveal") loader.SetConfigName("goveal")
loader.SetConfigType("yaml") loader.SetConfigType("yaml")
}
loader.AutomaticEnv() loader.AutomaticEnv()
if err = loader.ReadInConfig(); err == nil { if err = loader.ReadInConfig(); err == nil {