osconfig

package
v1.0.0-alpha.10 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Windows = "windows"
	Linux   = "linux"
	Darwin  = "darwin"

	AMD64 = "amd64"
	ARM64 = "arm64"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type OS

type OS struct {
	Name          string
	Aliases       []string
	Architectures []string
	Extensions    []string
}

func New

func New(os, arch string) *OS

func (*OS) GetArchitectures

func (o *OS) GetArchitectures() []string

func (*OS) GetExtensions

func (o *OS) GetExtensions() []string

func (*OS) GetOS

func (o *OS) GetOS() []string

Jump to

Keyboard shortcuts

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