goos

package standard library
go1.27.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2026 License: BSD-3-Clause Imports: 0 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

package goos contains GOOS-specific constants.

Index

Constants

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

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL