runtime

package
v2.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GOARCHList

func GOARCHList() []string

func GOOSList

func GOOSList() []string

func GOOSMap

func GOOSMap() map[string]struct{}

func IsOS

func IsOS(k string) bool

Types

type Runtime

type Runtime struct {
	GOOS   string
	GOARCH string
}

func GetRuntimes

func GetRuntimes(env string) ([]*Runtime, error)

func GetRuntimesFromEnvs

func GetRuntimesFromEnvs(envs []string) ([]*Runtime, error)

func New

func New() *Runtime

func NewR

func NewR() *Runtime

func (*Runtime) Env

func (rt *Runtime) Env() string

Jump to

Keyboard shortcuts

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