Mercurial > gemma
diff pkg/config/config.go @ 1334:6a439a92abf7
Removed public access to config.ConfigFile to make golint happy.
The getter was not used anyhow.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Sun, 25 Nov 2018 23:44:52 +0100 |
parents | 5443f5c9154c |
children | a25a4d4a3e6e |
line wrap: on
line diff
--- a/pkg/config/config.go Sun Nov 25 19:25:27 2018 +0100 +++ b/pkg/config/config.go Sun Nov 25 23:44:52 2018 +0100 @@ -30,8 +30,6 @@ // This is not part of the persistent config. var configFile string -func ConfigFile() string { return configFile } - func DBHost() string { return viper.GetString("db-host") } func DBPort() uint { return uint(viper.GetInt32("db-port")) } func DBName() string { return viper.GetString("db-name") }