runtime

package
v2.27.3 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 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