const runtime.GOOS

147 uses

	runtime (current package)
		cgocall.go#L124: 	if !iscgo && GOOS != "solaris" && GOOS != "illumos" && GOOS != "windows" {
		env_posix.go#L27: 	if GOOS == "windows" { // case insensitive
		extern.go#L271: const GOOS string = goos.GOOS
		lfstack_64bit.go#L42: 	if GOARCH == "ppc64" && GOOS == "aix" {
		lfstack_64bit.go#L54: 	if GOARCH == "ppc64" && GOOS == "aix" {
		malloc.go#L539: 			case GOARCH == "arm64" && GOOS == "ios":
		malloc.go#L543: 			case GOOS == "aix":
		malloc.go#L813: 	case GOOS == "windows":
		malloc.go#L1313: 	if GOOS == "plan9" {
		mheap.go#L51: 	physPageAlignedStacks = GOOS == "openbsd"
		netpoll.go#L299: 	if GOOS == "solaris" || GOOS == "illumos" || GOOS == "aix" {
		panic.go#L1235: 	if GOOS == "windows" && mp.libcallsp != 0 {
		proc.go#L216: 		if GOOS != "windows" {
		proc.go#L607: 	switch GOOS {
		proc.go#L828: 	if iscgo || GOOS == "solaris" || GOOS == "illumos" || GOOS == "windows" {
		proc.go#L1313: 	switch GOOS {
		proc.go#L1325: 	switch GOOS {
		proc.go#L1438: 	if (iscgo || GOOS == "windows") && !cgoHasExtraM {
		proc.go#L1540: 	if GOOS == "darwin" || GOOS == "ios" {
		proc.go#L1800: 	if (iscgo || GOOS == "windows") && !cgoHasExtraM {
		proc.go#L2093: 	if gp := getg(); gp != nil && gp.m != nil && (gp.m.lockedExt != 0 || gp.m.incgo) && GOOS != "plan9" {
		proc.go#L3017: 		if GOOS != "plan9" { // Temporary workaround - see issue #42303.
		proc.go#L3505: 		if GOOS != "plan9" { // See golang.org/issue/22227.
		proc.go#L4019: 	if GOOS == "darwin" || GOOS == "ios" {
		proc.go#L4335: 	if atomic.Load(&newmHandoff.haveTemplateThread) == 0 && GOOS != "plan9" {
		proc.go#L4467: 		if GOARCH == "arm" && goarm < 7 && GOOS == "linux" && pc&0xffff0000 == 0xffff0000 {
		proc.go#L5145: 		if GOOS == "netbsd" && needSysmonWorkaround {
		proc.go#L5878: 						if GOOS != "windows" {
		runtime1.go#L68: 	if GOOS == "windows" {
		runtime1.go#L355: 	if GOOS == "linux" {
		signal_amd64.go#L53: 	if GOOS == "darwin" && sig == _SIGFPE && gp.sigcode0 == 0 {
		signal_unix.go#L164: 	if (GOOS == "linux" || GOOS == "android") && !iscgo && sig == sigPerThreadSyscall {
		signal_unix.go#L353: 	if GOOS == "darwin" || GOOS == "ios" {
		signal_unix.go#L369: 	if GOOS == "darwin" || GOOS == "ios" {
		signal_unix.go#L374: 		if GOOS == "darwin" || GOOS == "ios" {
		signal_unix.go#L386: 	if GOOS == "darwin" || GOOS == "ios" {
		signal_unix.go#L453: 			if GOOS == "darwin" || GOOS == "ios" {
		signal_unix.go#L626: 	if (GOOS == "linux" || GOOS == "android") && sig == sigPerThreadSyscall {
		signal_unix.go#L912: 	if GOOS != "freebsd" && (isarchive || islibrary) && handler == _SIG_DFL && c.sigcode() != _SI_USER {
		signal_unix.go#L940: 	if GOOS == "darwin" && GOARCH == "amd64" {
		signal_unix.go#L1077: 	if (GOOS == "darwin" || GOOS == "ios") && sig == _SIGPIPE {
		sigqueue.go#L112: 				if GOOS == "darwin" || GOOS == "ios" {
		sigqueue.go#L147: 					if GOOS == "darwin" || GOOS == "ios" {
		sigqueue.go#L201: 		if GOOS == "darwin" || GOOS == "ios" {
		string.go#L423: 	if GOOS == "plan9" {
		symtab.go#L624: 			if GOOS == "aix" && isarchive {
		traceback.go#L103: 	if GOARCH == "arm" && goarm < 7 && GOOS == "linux" && frame.pc&0xffff0000 == 0xffff0000 {

	runtime/pprof
		pprof_rusage.go#L19: 	switch runtime.GOOS {

	crypto/rand
		rand_unix.go#L31: 	if runtime.GOOS == "plan9" {
		rand_unix.go#L71: 		if runtime.GOOS == "plan9" {

	crypto/x509
		verify.go#L748: 	if runtime.GOOS == "windows" || runtime.GOOS == "darwin" || runtime.GOOS == "ios" {

	github.com/aws/aws-sdk-go-v2/aws/defaults
		auto.go#L10: 	return runtime.GOOS

	github.com/aws/aws-sdk-go-v2/aws/middleware
		osname.go#L9: 	switch runtime.GOOS {
		user_agent.go#L95: 	r.AddSDKAgentKeyValue(AdditionalMetadata, "GOOS", runtime.GOOS)

	go/build
		build.go#L281: 	if runtime.GOOS == "windows" {
		build.go#L283: 	} else if runtime.GOOS == "plan9" {
		build.go#L343: 		if runtime.GOARCH == c.GOARCH && runtime.GOOS == c.GOOS {
		gc.go#L16: 	return filepath.Join(runtime.GOROOT(), "pkg/tool/"+runtime.GOOS+"_"+runtime.GOARCH)

	golang.org/x/net/http2
		server.go#L744: 	if runtime.GOOS == "windows" {

	golang.org/x/sys/cpu
		cpu_x86.go#L92: 		if runtime.GOOS == "darwin" {

	golang.org/x/sys/unix
		sockcmsg_unix_other.go#L20: 	switch runtime.GOOS {
		sockcmsg_unix_other.go#L37: 		if runtime.GOOS == "netbsd" && runtime.GOARCH == "arm64" {

	golang.org/x/tools/internal/gocommand
		invoke.go#L301: 	switch runtime.GOOS {
		invoke.go#L320: 		if runtime.GOOS == "freebsd" || runtime.GOOS == "netbsd" {

	internal/buildcfg
		zbootstrap.go#L17: const defaultGOOS = runtime.GOOS

	net
		conf.go#L38: 	confVal  = &conf{goos: runtime.GOOS}
		conf.go#L73: 	if runtime.GOOS == "darwin" || runtime.GOOS == "ios" {
		conf.go#L92: 	if runtime.GOOS == "openbsd" && os.Getenv("ASR_CONFIG") != "" {
		conf.go#L97: 	if runtime.GOOS != "openbsd" {
		fd_unix.go#L78: 		if runtime.GOOS == "solaris" || runtime.GOOS == "illumos" {
		ipsock.go#L50: 	switch runtime.GOOS {
		ipsock_posix.go#L44: 	switch runtime.GOOS {
		ipsock_posix.go#L138: 	if (runtime.GOOS == "aix" || runtime.GOOS == "windows" || runtime.GOOS == "openbsd") && mode == "dial" && raddr.isWildcard() {

	net/http
		h2_bundle.go#L4398: 	if runtime.GOOS == "windows" {

	os
		exec_posix.go#L107: 		if runtime.GOOS == "windows" && uint(code) >= 1<<16 { // windows uses large hex numbers
		executable_procfs.go#L16: 	switch runtime.GOOS {
		executable_procfs.go#L18: 		return "", errors.New("Executable not implemented for " + runtime.GOOS)
		file.go#L263: 	if runtime.GOOS == "windows" && isWindowsNulName(name) {
		file.go#L409: 	switch runtime.GOOS {
		file.go#L460: 	switch runtime.GOOS {
		file.go#L502: 	switch runtime.GOOS {
		file.go#L512: 	switch runtime.GOOS {
		file.go#L644: 	if !fs.ValidPath(name) || runtime.GOOS == "windows" && containsAny(name, `\:`) {
		file.go#L655: 	if !fs.ValidPath(name) || runtime.GOOS == "windows" && containsAny(name, `\:`) {
		file_unix.go#L143: 		switch runtime.GOOS {
		file_unix.go#L165: 			if (runtime.GOOS == "darwin" || runtime.GOOS == "ios") && typ == syscall.S_IFIFO {
		file_unix.go#L331: 		if runtime.GOOS == "android" {
		file_unix.go#L382: 		if runtime.GOOS == "aix" && e == syscall.ERANGE {
		getwd.go#L23: 	if runtime.GOOS == "windows" || runtime.GOOS == "plan9" {
		proc.go#L19: 	if runtime.GOOS == "windows" {
		sys_linux.go#L31: 	if runtime.GOOS == "android" {

	os/exec
		exec.go#L382: 	if runtime.GOOS == "windows" {
		exec.go#L742: 	return dedupEnvCase(runtime.GOOS == "windows", env)
		exec.go#L773: 	if runtime.GOOS != "windows" {

	path/filepath
		match.go#L102: 			if runtime.GOOS != "windows" {
		match.go#L187: 			if runtime.GOOS != "windows" {
		match.go#L217: 	if chunk[0] == '\\' && runtime.GOOS != "windows" {
		match.go#L257: 	if runtime.GOOS == "windows" {
		match.go#L356: 	if runtime.GOOS != "windows" {
		symlink.go#L37: 		isWindowsDot := runtime.GOOS == "windows" && path[volumeNameLen(path):] == "."

	syscall
		env_unix.go#L107: 	if runtime.GOOS != "plan9" {
		exec_unix.go#L169: 	if (runtime.GOOS == "freebsd" || runtime.GOOS == "dragonfly") && len(argv[0]) > len(argv0) {
		exec_unix.go#L286: 	if runtime.GOOS == "solaris" || runtime.GOOS == "illumos" || runtime.GOOS == "aix" {
		exec_unix.go#L292: 	} else if runtime.GOOS == "darwin" || runtime.GOOS == "ios" {
		exec_unix.go#L295: 	} else if runtime.GOOS == "openbsd" && (runtime.GOARCH == "386" || runtime.GOARCH == "amd64" || runtime.GOARCH == "arm" || runtime.GOARCH == "arm64") {
		sockcmsg_unix_other.go#L19: 	switch runtime.GOOS {
		sockcmsg_unix_other.go#L36: 		if runtime.GOOS == "netbsd" && runtime.GOARCH == "arm64" {
		syscall_unix.go#L26: 	darwin64Bit = (runtime.GOOS == "darwin" || runtime.GOOS == "ios") && sizeofPtr == 8
		syscall_unix.go#L27: 	netbsd32Bit = runtime.GOOS == "netbsd" && sizeofPtr == 4

	testing
		benchmark.go#L265: 		fmt.Fprintf(b.w, "goos: %s\n", runtime.GOOS)
		benchmark.go#L663: 			fmt.Printf("goos: %s\n", runtime.GOOS)
		testing.go#L2006: 	if runtime.GOOS == "windows" && len(path) >= 2 {

	time
		zoneinfo_read.go#L270: 		if runtime.GOOS == "aix" && len(name) > 8 && (name[:8] == "Etc/GMT+" || name[:8] == "Etc/GMT-") {

	vendor/golang.org/x/sys/cpu
		cpu_x86.go#L92: 		if runtime.GOOS == "darwin" {