xyosc/vendor/github.com/kirsle/configdir/config_windows.go
2024-12-21 17:38:26 +01:00

16 lines
254 B
Go

package configdir
import "os"
var (
systemConfig []string
localConfig string
localCache string
)
func findPaths() {
systemConfig = []string{os.Getenv("PROGRAMDATA")}
localConfig = os.Getenv("APPDATA")
localCache = os.Getenv("LOCALAPPDATA")
}