-
Notifications
You must be signed in to change notification settings - Fork 0
/
globals.go
44 lines (40 loc) · 896 Bytes
/
globals.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
package where
import "github.com/mjwhitta/safety"
var cache *safety.Map = safety.NewMap()
var defPaths map[string][]string = map[string][]string{
"darwin": {
"/usr/bin/core_perl",
"/usr/bin/vendor_perl",
"/usr/local/bin",
"/usr/local/sbin",
"/usr/bin",
"/usr/sbin",
"/bin",
"/sbin",
"/usr/local/osx-ndk-x86/bin",
},
"linux": {
"/usr/bin/core_perl",
"/usr/bin/vendor_perl",
"/usr/local/bin",
"/usr/local/sbin",
"/usr/bin",
"/usr/sbin",
"/bin",
"/sbin",
},
"windows": {
"c:/program files/dotnet/",
"c:/program files/git/cmd",
"c:/program files/go/bin",
"c:/program files/powershell/7",
"c:/programdata/chocolatey/bin",
"c:/windows/system32",
"c:/windows",
"c:/windows/system32/wbem",
"c:/windows/system32/windowspowershell/v1.0/",
"c:/windows/system32/openssh/",
},
}
// Version is the package version.
const Version string = "1.3.2"