arch

package
v0.121.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2025 License: Apache-2.0 Imports: 1 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsAarch64

func IsAarch64() bool

func IsPPC

func IsPPC() bool

func IsRISCV64 added in v0.118.0

func IsRISCV64() bool

func IsS390x

func IsS390x() bool

func IsX86_64

func IsX86_64() bool

Types

type Arch

type Arch uint64
const (
	ARCH_UNSET Arch = iota
	ARCH_AARCH64
	ARCH_PPC64LE
	ARCH_S390X
	ARCH_X86_64
	ARCH_RISCV64
)

func Current

func Current() Arch

func FromString

func FromString(a string) Arch

func (Arch) String

func (a Arch) String() string

Jump to

Keyboard shortcuts

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