diff --git a/path_unix.go b/path_unix.go new file mode 100644 index 0000000..a93be6a --- /dev/null +++ b/path_unix.go @@ -0,0 +1,16 @@ +//go:build unix && !darwin +package nasin + +import "git.tebibyte.media/tomo/xdg/basedir" + +func userDataDir () (string, error) { + return basedir.DataHome() +} + +func userConfigDir () (string, error) { + return basedir.ConfigHome() +} + +func userCacheDir () (string, error) { + return basedir.CacheHome() +}