const runtime.GOOS

141 uses

	runtime (current package)
		cgocall.go#L125: 	if !iscgo && GOOS != "solaris" && GOOS != "illumos" && GOOS != "windows" {
		cpuprof.go#L231: 	if GOOS == "darwin" || GOOS == "ios" {
		env_posix.go#L25: 	if GOOS == "windows" { // case insensitive
		extern.go#L337: const GOOS string = goos.GOOS
		malloc.go#L500: 			case GOARCH == "arm64" && GOOS == "ios":
		malloc.go#L504: 			case GOOS == "aix":
		malloc.go#L816: 	case GOOS == "windows":
		malloc.go#L1382: 	if GOOS == "plan9" {
		mheap.go#L52: 	physPageAlignedStacks = GOOS == "openbsd"
		netpoll.go#L340: 	if GOOS == "solaris" || GOOS == "illumos" || GOOS == "aix" || GOOS == "wasip1" {
		panic.go#L1360: 	if GOOS == "windows" && mp.libcallsp != 0 {
		proc.go#L219: 		if GOOS != "windows" {
		proc.go#L635: 	switch GOOS {
		proc.go#L663: 	switch GOOS {
		proc.go#L867: 	if iscgo || GOOS == "solaris" || GOOS == "illumos" || GOOS == "windows" {
		proc.go#L1494: 	switch GOOS {
		proc.go#L1506: 	switch GOOS {
		proc.go#L1620: 	if (iscgo || GOOS == "windows") && !cgoHasExtraM {
		proc.go#L1721: 	if GOOS == "darwin" || GOOS == "ios" {
		proc.go#L1995: 	if (iscgo || GOOS == "windows") && !cgoHasExtraM {
		proc.go#L2230: 	if GOOS == "windows" || GOOS == "plan9" {
		proc.go#L2401: 	if gp := getg(); gp != nil && gp.m != nil && (gp.m.lockedExt != 0 || gp.m.incgo) && GOOS != "plan9" {
		proc.go#L3447: 		if GOOS != "plan9" { // Temporary workaround - see issue #42303.
		proc.go#L3913: 		if GOOS != "plan9" { // See golang.org/issue/22227.
		proc.go#L4443: 	if GOOS == "darwin" || GOOS == "ios" {
		proc.go#L4784: 	if atomic.Load(&newmHandoff.haveTemplateThread) == 0 && GOOS != "plan9" {
		proc.go#L4921: 		if GOARCH == "arm" && goarm < 7 && GOOS == "linux" && pc&0xffff0000 == 0xffff0000 {
		proc.go#L5613: 		if GOOS == "netbsd" && needSysmonWorkaround {
		proc.go#L6398: 						if GOOS != "windows" && GOOS != "openbsd" && GOOS != "netbsd" {
		runtime1.go#L73: 	if GOOS == "windows" {
		runtime1.go#L372: 	if GOOS == "linux" {
		runtime1.go#L517: 		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#L655: 	if (GOOS == "linux" || GOOS == "android") && sig == sigPerThreadSyscall {
		signal_unix.go#L963: 	if GOOS != "freebsd" && (isarchive || islibrary) && handler == _SIG_DFL && !c.sigFromUser() {
		signal_unix.go#L1119: 	if (GOOS == "darwin" || GOOS == "ios") && sig == _SIGPIPE {
		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#L516: 	if GOOS == "plan9" {
		symtab.go#L551: 			if GOOS == "aix" && isarchive {
		tagptr_64bit.go#L58: 	if GOOS == "aix" {
		tagptr_64bit.go#L77: 	if GOOS == "aix" {
		trace.go#L1639: 	case GOOS == "solaris" || GOOS == "illumos":
		traceback.go#L192: 	if GOARCH == "arm" && goarm < 7 && GOOS == "linux" && frame.pc&0xffff0000 == 0xffff0000 {

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

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

	github.com/gotd/td/telegram/internal/manager
		device.go#L48: 		set(&c.SystemVersion, runtime.GOOS)

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

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

	internal/safefilepath
		path_other.go#L12: 	if runtime.GOOS == "plan9" {

	net
		conf.go#L76: 	confVal  = &conf{goos: runtime.GOOS}
		conf.go#L133: 	switch runtime.GOOS {
		conf.go#L150: 	if runtime.GOOS == "openbsd" && os.Getenv("ASR_CONFIG") != "" {
		conf.go#L159: 	switch runtime.GOOS {
		dnsclient_unix.go#L390: 	switch runtime.GOOS {
		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#L4561: 	if runtime.GOOS == "windows" {

	os
		dir_unix.go#L96: 		if ino == 0 && runtime.GOOS != "wasip1" {
		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#L412: 	switch runtime.GOOS {
		file.go#L463: 	switch runtime.GOOS {
		file.go#L508: 	switch runtime.GOOS {
		file.go#L518: 	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#L394: 		if runtime.GOOS == "android" {
		file_unix.go#L445: 		if (runtime.GOOS == "aix" || runtime.GOOS == "wasip1") && 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" {

	path/filepath
		match.go#L101: 			if runtime.GOOS != "windows" {
		match.go#L186: 			if runtime.GOOS != "windows" {
		match.go#L216: 	if chunk[0] == '\\' && runtime.GOOS != "windows" {
		match.go#L266: 	if runtime.GOOS == "windows" {
		match.go#L365: 	if runtime.GOOS != "windows" {
		symlink.go#L37: 		isWindowsDot := runtime.GOOS == "windows" && path[volumeNameLen(path):] == "."

	syscall
		dirent.go#L83: 		if ino == 0 && runtime.GOOS != "wasip1" { // File absent in directory.
		env_unix.go#L102: 	if runtime.GOOS != "plan9" {
		exec_unix.go#L168: 	if (runtime.GOOS == "freebsd" || runtime.GOOS == "dragonfly") && len(argv) > 0 && len(argv[0]) > len(argv0) {
		exec_unix.go#L287: 	if runtime.GOOS == "solaris" || runtime.GOOS == "illumos" || runtime.GOOS == "aix" {
		exec_unix.go#L293: 	} else if runtime.GOOS == "darwin" || runtime.GOOS == "ios" {
		exec_unix.go#L296: 	} 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_linux.go#L166: 	if runtime.GOOS != "android" {
		syscall_unix.go#L27: 	darwin64Bit = (runtime.GOOS == "darwin" || runtime.GOOS == "ios") && sizeofPtr == 8
		syscall_unix.go#L28: 	netbsd32Bit = runtime.GOOS == "netbsd" && sizeofPtr == 4

	time
		sys_unix.go#L22: 	if runtime.GOOS != "wasip1" {
		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" {