env

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: 4 Imported by: 0

Documentation

Index

Constants

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

Variables

View Source
var Module = &starlarkstruct.Module{
	Name: "env",
	Members: starlark.StringDict{
		"get": starlark.NewBuiltin("env.get", Get),
		"set": starlark.NewBuiltin("env.set", Set),
	},
}

Functions

func Get

func Get(thread *starlark.Thread, _ *starlark.Builtin, args starlark.Tuple, kwargs []starlark.Tuple) (starlark.Value, error)

Get get env

func Set

func Set(thread *starlark.Thread, _ *starlark.Builtin, args starlark.Tuple, kwargs []starlark.Tuple) (starlark.Value, error)

Set set env

Types

This section is empty.

Jump to

Keyboard shortcuts

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