const runtime.GOOS

141 uses

	runtime (current package)
		cgocall.go#L135: 	if !iscgo && GOOS != "solaris" && GOOS != "illumos" && GOOS != "windows" {
		cpuprof.go#L248: 	if GOOS == "darwin" || GOOS == "ios" {
		env_posix.go#L25: 	if GOOS == "windows" { // case insensitive
		extern.go#L367: const GOOS string = goos.GOOS
		malloc.go#L516: 			case GOARCH == "arm64" && GOOS == "ios":
		malloc.go#L520: 			case GOOS == "aix":
		malloc.go#L832: 	case GOOS == "windows":
		malloc.go#L1477: 	if GOOS == "plan9" {
		mheap.go#L52: 	physPageAlignedStacks = GOOS == "openbsd"
		netpoll.go#L348: 	if GOOS == "solaris" || GOOS == "illumos" || GOOS == "aix" || GOOS == "wasip1" {
		panic.go#L1443: 	if GOOS == "windows" && mp.libcallsp != 0 {
		proc.go#L222: 		if GOOS != "windows" {
		proc.go#L614: const crashStackImplemented = GOOS != "windows"
		proc.go#L723: 	switch GOOS {
		proc.go#L751: 	switch GOOS {
		proc.go#L957: 	if iscgo || GOOS == "solaris" || GOOS == "illumos" || GOOS == "windows" {
		proc.go#L1010: 	osHasLowResTimer = GOOS == "windows" || GOOS == "openbsd" || GOOS == "netbsd"
		proc.go#L1731: 	switch GOOS {
		proc.go#L1743: 	switch GOOS {
		proc.go#L1854: 	if (iscgo || GOOS == "windows") && !cgoHasExtraM {
		proc.go#L1961: 	if GOOS == "darwin" || GOOS == "ios" {
		proc.go#L2274: 	if (iscgo || GOOS == "windows") && !cgoHasExtraM {
		proc.go#L2570: 	if GOOS == "windows" || GOOS == "plan9" {
		proc.go#L2751: 	if gp := getg(); gp != nil && gp.m != nil && (gp.m.lockedExt != 0 || gp.m.incgo) && GOOS != "plan9" {
		proc.go#L3842: 		if GOOS != "plan9" { // Temporary workaround - see issue #42303.
		proc.go#L4324: 		if GOOS != "plan9" { // See golang.org/issue/22227.
		proc.go#L4941: 	if GOOS == "darwin" || GOOS == "ios" {
		proc.go#L5295: 	if atomic.Load(&newmHandoff.haveTemplateThread) == 0 && GOOS != "plan9" {
		proc.go#L5433: 		if GOARCH == "arm" && goarm < 7 && GOOS == "linux" && pc&0xffff0000 == 0xffff0000 {
		proc.go#L6143: 		if GOOS == "netbsd" && needSysmonWorkaround {
		runtime1.go#L73: 	if GOOS == "windows" {
		runtime1.go#L401: 	if GOOS == "linux" {
		runtime1.go#L548: 		if GOOS == "windows" {
		signal_amd64.go#L53: 	if GOOS == "darwin" && sig == _SIGFPE && gp.sigcode0 == 0 {
		signal_unix.go#L165: 	if (GOOS == "linux" || GOOS == "android") && !iscgo && sig == sigPerThreadSyscall {
		signal_unix.go#L355: 	if GOOS == "darwin" || GOOS == "ios" {
		signal_unix.go#L371: 	if GOOS == "darwin" || GOOS == "ios" {
		signal_unix.go#L376: 		if GOOS == "darwin" || GOOS == "ios" {
		signal_unix.go#L388: 	if GOOS == "darwin" || GOOS == "ios" {
		signal_unix.go#L455: 			if GOOS == "darwin" || GOOS == "ios" {
		signal_unix.go#L668: 	if (GOOS == "linux" || GOOS == "android") && sig == sigPerThreadSyscall {
		signal_unix.go#L1026: 	if GOOS != "freebsd" && (isarchive || islibrary) && handler == _SIG_DFL && !c.sigFromUser() {
		signal_unix.go#L1182: 	if (GOOS == "darwin" || GOOS == "ios") && sig == _SIGPIPE {
		signal_unix.go#L1249: 	if GOOS == "linux" && iscgo {
		sigqueue.go#L112: 				if GOOS == "darwin" || GOOS == "ios" {
		sigqueue.go#L148: 					if GOOS == "darwin" || GOOS == "ios" {
		sigqueue.go#L204: 		if GOOS == "darwin" || GOOS == "ios" {
		string.go#L518: 	if GOOS == "plan9" {
		symtab.go#L621: 			if GOOS == "aix" && isarchive {
		tagptr_64bit.go#L58: 	if GOOS == "aix" {
		tagptr_64bit.go#L77: 	if GOOS == "aix" {
		traceback.go#L190: 	if GOARCH == "arm" && goarm < 7 && GOOS == "linux" && frame.pc&0xffff0000 == 0xffff0000 {

	crypto/rand
		rand_getrandom.go#L17: 	switch runtime.GOOS {

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

	internal/poll
		writev.go#L33: 	if runtime.GOOS == "aix" || runtime.GOOS == "solaris" {

	net
		conf.go#L75: 	confVal  = &conf{goos: runtime.GOOS}
		conf.go#L132: 	switch runtime.GOOS {
		conf.go#L149: 	if runtime.GOOS == "openbsd" && os.Getenv("ASR_CONFIG") != "" {
		conf.go#L158: 	switch runtime.GOOS {
		conf.go#L191: 	if runtime.GOOS == "plan9" {
		dnsclient_unix.go#L406: 	switch runtime.GOOS {
		fd_unix.go#L78: 		if runtime.GOOS == "solaris" || runtime.GOOS == "illumos" {
		ipsock.go#L51: 	switch runtime.GOOS {
		ipsock_posix.go#L29: 	switch runtime.GOOS {
		ipsock_posix.go#L54: 	switch runtime.GOOS {
		ipsock_posix.go#L160: 	switch runtime.GOOS {

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

	os
		dir_unix.go#L107: 		if ino == 0 && runtime.GOOS != "wasip1" {
		exec_posix.go#L65: 	if runtime.GOOS != "windows" {
		exec_posix.go#L117: 		if runtime.GOOS == "windows" && uint(code) >= 1<<16 { // windows uses large hex numbers
		executable_procfs.go#L17: 	switch runtime.GOOS {
		executable_procfs.go#L19: 		return "", errors.New("Executable not implemented for " + runtime.GOOS)
		file.go#L346: 	if runtime.GOOS == "windows" {
		file.go#L480: 	switch runtime.GOOS {
		file.go#L531: 	switch runtime.GOOS {
		file.go#L576: 	switch runtime.GOOS {
		file.go#L586: 	switch runtime.GOOS {
		file_unix.go#L184: 		switch runtime.GOOS {
		file_unix.go#L206: 			if (runtime.GOOS == "darwin" || runtime.GOOS == "ios") && typ == syscall.S_IFIFO {
		file_unix.go#L411: 		if runtime.GOOS == "android" {
		file_unix.go#L460: 		if (runtime.GOOS == "aix" || runtime.GOOS == "wasip1") && e == syscall.ERANGE {
		getwd.go#L23: 	if runtime.GOOS == "windows" || runtime.GOOS == "plan9" {
		pidfd_linux.go#L157: 	if runtime.GOOS == "android" {
		proc.go#L19: 	if runtime.GOOS == "windows" {
		sys_linux.go#L31: 	if runtime.GOOS == "android" {

	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#L267: 	if runtime.GOOS == "windows" {
		match.go#L366: 	if runtime.GOOS != "windows" {
		symlink.go#L38: 		isWindowsDot := runtime.GOOS == "windows" && path[filepathlite.VolumeNameLen(path):] == "."

	syscall
		dirent.go#L77: 		if ino == 0 && runtime.GOOS != "wasip1" { // File absent in directory.
		env_unix.go#L102: 	if runtime.GOOS != "plan9" {
		exec_unix.go#L171: 	if (runtime.GOOS == "freebsd" || runtime.GOOS == "dragonfly") && len(argv) > 0 && len(argv[0]) > len(argv0) {
		exec_unix.go#L294: 	if runtime.GOOS == "solaris" || runtime.GOOS == "illumos" || runtime.GOOS == "aix" {
		exec_unix.go#L300: 	} else if runtime.GOOS == "darwin" || runtime.GOOS == "ios" {
		exec_unix.go#L303: 	} else if runtime.GOOS == "openbsd" && runtime.GOARCH != "mips64" {
		sockcmsg_unix_other.go#L19: 	switch runtime.GOOS {
		sockcmsg_unix_other.go#L36: 		if runtime.GOOS == "netbsd" && runtime.GOARCH == "arm64" {
		syscall_linux.go#L170: 	if runtime.GOOS != "android" {
		syscall_unix.go#L29: 	darwin64Bit = (runtime.GOOS == "darwin" || runtime.GOOS == "ios") && sizeofPtr == 8
		syscall_unix.go#L30: 	netbsd32Bit = runtime.GOOS == "netbsd" && sizeofPtr == 4

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

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