yapusher/vendor/github.com/kirsle/configdir/config_darwin.go

16 lines
302 B
Go
Raw Normal View History

2019-03-29 09:31:37 +04:00
package configdir
import "os"
var (
systemConfig []string
localConfig string
localCache string
)
func findPaths() {
systemConfig = []string{"/Library/Application Support"}
localConfig = os.Getenv("HOME") + "/Library/Application Support"
localCache = os.Getenv("HOME") + "/Library/Caches"
}