runtime

package
v1.37.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GOARCHList added in v1.14.0

func GOARCHList() []string

func GOOSList added in v1.14.0

func GOOSList() []string

func GOOSMap added in v1.34.1

func GOOSMap() map[string]struct{}

func IsOS added in v1.34.1

func IsOS(k string) bool

Types

type Runtime

type Runtime struct {
	GOOS   string
	GOARCH string
}

func GetRuntimes added in v1.19.3

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

func GetRuntimesFromEnvs added in v1.19.3

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

func New

func New() *Runtime

func NewR added in v1.26.2

func NewR() *Runtime

func (*Runtime) Env added in v1.29.0

func (rt *Runtime) Env() string

Jump to

Keyboard shortcuts

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