sys

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const ModuleName = "sys.star"
View Source
const Name = "sys"

Variables

View Source
var Module = &starlarkstruct.Module{
	Name: "sys",
	Members: starlark.StringDict{
		"os":         starlark.String(runtime.GOOS),
		"arch":       starlark.String(runtime.GOARCH),
		"platform":   starlark.String(fmt.Sprintf("%s_%s", runtime.GOOS, runtime.GOARCH)),
		"argv":       argv(),
		"executable": executable(),
	},
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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