package cache import ( "fmt" "os" "path" "github.com/mitchellh/go-homedir" ) // GetLocalStorageDir returns local directory for loophole cache purposes func GetLocalStorageDir(directoryName string) string { home, err := homedir.Dir() fmt.Print(home) return home }