osutils

package
v0.0.56 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2023 License: MIT Imports: 1 Imported by: 66

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Is386

func Is386() bool

func IsARM

func IsARM() bool

func IsARM64

func IsARM64() bool

func IsAmd64

func IsAmd64() bool

func IsAndroid

func IsAndroid() bool

func IsFreeBSD

func IsFreeBSD() bool

func IsIOS

func IsIOS() bool

func IsJS

func IsJS() bool

func IsLinux

func IsLinux() bool

func IsOSX

func IsOSX() bool

func IsOpenBSD

func IsOpenBSD() bool

func IsSolaris

func IsSolaris() bool

func IsWasm

func IsWasm() bool

func IsWindows

func IsWindows() bool

Types

type ArchType

type ArchType uint8
const (
	I386 ArchType = iota
	Amd64
	Amd64p32
	Arm
	Armbe
	Arm64
	Arm64be
	Loong64
	Mips
	Mipsle
	Mips64
	Mips64le
	Mips64p32
	Mips64p32le
	Ppc
	Ppc64
	Ppc64le
	Riscv
	Riscv64
	S390
	S390x
	Sparc
	Sparc64
	Wasm
	UknownArch
)
var Arch ArchType

type OsType

type OsType uint8
const (
	Darwin OsType = iota

	Linux
	Android
	IOS
	FreeBSD
	OpenBSD
	JS
	Solaris
	UnknownOS
)
var OS OsType

Jump to

Keyboard shortcuts

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