1// +build windows 2 3package xdg 4 5import ( 6 "os" 7) 8 9// RuntimeDir returns XDG runtime directory. 10func RuntimeDir() string { 11 // XDG_RUNTIME_DIR 12 return alternate(os.Getenv(RuntimeDirEnv), os.Getenv("LOCALAPPDATA")) 13} 14