binary

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrOsNotSupported           = errors.New("OS not supported")
	ErrArchitectureNotSupported = errors.New("Architecture not supported")
)

Functions

This section is empty.

Types

type Architecture

type Architecture string
const (
	ArchAMD64 Architecture = "amd64"
	ArchARM64 Architecture = "arm64"
)

type OS

type OS string
const (
	OSLinux  OS = "linux"
	OSDarwin OS = "darwin"
)

type Platform

type Platform struct {
	Architecture Architecture
	OS           OS
}

func GetInfo

func GetInfo(name string) (Platform, error)

func (Platform) String

func (pf Platform) String() string

Jump to

Keyboard shortcuts

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