From 0a8c192870901e7602b412a97ab154d26f234a8f Mon Sep 17 00:00:00 2001 From: Fabian Knorr Date: Tue, 27 Feb 2018 21:24:08 +0100 Subject: [PATCH] Update Godoc for function GetConfigFilePath to meet Godocs approach to documentation --- viper.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/viper.go b/viper.go index 1dee019..1fe532f 100644 --- a/viper.go +++ b/viper.go @@ -1734,10 +1734,7 @@ func (v *Viper) getConfigFile() (string, error) { return v.getConfigFile() } -// Returns the path where Viper actually found the logfile it uses. -// -// Useful when you want to write the configPath to logfiles, stdout, etc. -// Comes in handy during debugging or when running in production environments. +// GetConfigFilePath returns the path where Viper actually found the configfile it uses. func GetConfigFilePath() (string, error) { return v.getConfigFile() }