1
2
3
4
5
6
7 package syslist
8
9
10
11
12
13
14
15
16 var KnownOS = map[string]bool{
17 "aix": true,
18 "android": true,
19 "darwin": true,
20 "dragonfly": true,
21 "freebsd": true,
22 "hurd": true,
23 "illumos": true,
24 "ios": true,
25 "js": true,
26 "linux": true,
27 "nacl": true,
28 "netbsd": true,
29 "openbsd": true,
30 "plan9": true,
31 "solaris": true,
32 "wasip1": true,
33 "windows": true,
34 "zos": true,
35 }
36
37
38
39 var UnixOS = map[string]bool{
40 "aix": true,
41 "android": true,
42 "darwin": true,
43 "dragonfly": true,
44 "freebsd": true,
45 "hurd": true,
46 "illumos": true,
47 "ios": true,
48 "linux": true,
49 "netbsd": true,
50 "openbsd": true,
51 "solaris": true,
52 }
53
54
55
56 var KnownArch = map[string]bool{
57 "386": true,
58 "amd64": true,
59 "amd64p32": true,
60 "arm": true,
61 "armbe": true,
62 "arm64": true,
63 "arm64be": true,
64 "loong64": true,
65 "mips": true,
66 "mipsle": true,
67 "mips64": true,
68 "mips64le": true,
69 "mips64p32": true,
70 "mips64p32le": true,
71 "ppc": true,
72 "ppc64": true,
73 "ppc64le": true,
74 "riscv": true,
75 "riscv64": true,
76 "s390": true,
77 "s390x": true,
78 "sparc": true,
79 "sparc64": true,
80 "wasm": true,
81 }
82
View as plain text