nasin/path_unix.go

17 lines
297 B
Go
Raw Normal View History

//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()
}