17 lines
297 B
Go
17 lines
297 B
Go
|
//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()
|
||
|
}
|