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