...

Package goos

import "internal/goos"
Overview
Index

Overview ▾

package goos contains GOOS-specific constants.

Index ▾

Package files

goos.go unix.go zgoos_linux.go

Constants

const GOOS = `linux`
const IsAix = 0
const IsAndroid = 0
const IsDarwin = 0
const IsDragonfly = 0
const IsFreebsd = 0
const IsHurd = 0
const IsIllumos = 0
const IsIos = 0
const IsJs = 0
const IsLinux = 1
const IsNacl = 0
const IsNetbsd = 0
const IsOpenbsd = 0
const IsPlan9 = 0
const IsSolaris = 0
const IsUnix = true
const IsWasip1 = 0
const IsWindows = 0
const IsZos = 0