Documentation ¶
Index ¶
- Constants
- Variables
- func DefaultEnv(input []types.Value) (types.Value, error)
- func Env(input []types.Value) (types.Value, error)
- func GetEnv(input []types.Value) (types.Value, error)
- func HasEnv(input []types.Value) (types.Value, error)
- func Pow(input []types.Value) (types.Value, error)
- func Register(name string, fn *types.FuncValue)
Constants ¶
View Source
const Answer = 42
Answer is the Answer to Life, the Universe and Everything.
Variables ¶
View Source
var RegisteredFuncs = make(map[string]*types.FuncValue) // must initialize
RegisteredFuncs maps a function name to the corresponding static, pure func.
Functions ¶
func DefaultEnv ¶
DefaultEnv gets environment variable by name or returns default if non existing.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.