changeset 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 8c6b5d47a7ff
children 813342f2e927
files pkg/config/config.go
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
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") }