export config paths
This commit is contained in:
@@ -6,7 +6,7 @@ package localconfig
|
||||
import "os"
|
||||
|
||||
// Configfile is the OS dependent config file location
|
||||
func getConfig(filename string) string {
|
||||
func GetConfigPath(filename string) string {
|
||||
home, _ := os.UserHomeDir()
|
||||
return home + "/." + filename
|
||||
}
|
||||
|
Reference in New Issue
Block a user