//go:build linux || darwin // +build linux darwin package localconfig import "os" // Configfile is the OS dependent config file location func GetConfigPath(filename string) string { home, _ := os.UserHomeDir() return home + "/." + filename }