1
0
mirror of https://github.com/muety/wakapi.git synced 2023-08-10 21:12:56 +03:00

chore: remove legacy config.ini and .env

This commit is contained in:
Steven Tang
2021-01-31 10:51:56 +11:00
parent 61f8a22cff
commit 779108ad88
5 changed files with 0 additions and 135 deletions

View File

@ -22,8 +22,6 @@ import (
const (
defaultConfigPath = "config.yml"
defaultConfigPathLegacy = "config.ini"
defaultEnvConfigPathLegacy = ".env"
SQLDialectMysql = "mysql"
SQLDialectPostgres = "postgres"
@ -288,8 +286,6 @@ func Load() *Config {
flag.Parse()
maybeMigrateLegacyConfig()
if err := configor.New(&configor.Config{}).Load(config, mustReadConfigLocation()); err != nil {
logbuch.Fatal("failed to read config: %v", err)
}