export config paths

This commit is contained in:
ycc
2023-01-28 19:26:58 +01:00
parent bd93a5dee4
commit 8bb4703577
3 changed files with 8 additions and 8 deletions

View File

@@ -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
}