yapusher/vendor/github.com/kirsle/configdir/config_windows.go

16 lines
254 B
Go
Raw Normal View History

2019-03-29 09:31:37 +04:00
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")
}