Documentation ¶
Index ¶
Constants ¶
View Source
const ( // EnvPrefix is the prefix each env var key should have in order to be exposed to the // script. The value will be all lowercase letters. EnvPrefix = "SONOLARK_" )
Variables ¶
This section is empty.
Functions ¶
func NewAPI ¶
func NewAPI() starlark.StringDict
NewAPI returns a starlark.StringDict with the "env" module with all the constants derived from env var values of the form: SONOLARK_<name>=<value>. When exposed to the script; it can be invoked by env.<name>
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.