arch

package
v0.77.0 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2024 License: Apache-2.0 Imports: 1 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsAarch64

func IsAarch64() bool

func IsPPC

func IsPPC() 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
)

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