github.com/amarpal/go-tools@v0.0.0-20240422043104-40142f59f616/knowledge/targets.go (about) 1 package knowledge 2 3 var KnownGOOS = map[string]struct{}{ 4 "aix": {}, 5 "android": {}, 6 "darwin": {}, 7 "dragonfly": {}, 8 "freebsd": {}, 9 "hurd": {}, 10 "illumos": {}, 11 "ios": {}, 12 "js": {}, 13 "linux": {}, 14 "netbsd": {}, 15 "openbsd": {}, 16 "plan9": {}, 17 "solaris": {}, 18 "wasip1": {}, 19 "windows": {}, 20 } 21 22 var KnownGOARCH = map[string]struct{}{ 23 "386": {}, 24 "amd64": {}, 25 "arm": {}, 26 "arm64": {}, 27 "loong64": {}, 28 "mips": {}, 29 "mipsle": {}, 30 "mips64": {}, 31 "mips64le": {}, 32 "ppc64": {}, 33 "ppc64le": {}, 34 "riscv64": {}, 35 "s390x": {}, 36 "sparc64": {}, 37 "wasm": {}, 38 }