Documentation
¶
Overview ¶
Package precheck finds what would surely fail in a part of an island script before it runs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Env ¶
type Env struct {
// Widgets are the views and controls under ui, by name.
Widgets map[string]Widget
// Layouts are the params schemas of the layouts under ui, by name.
Layouts map[string]*jsonschema.Schema
// Apps are the names of the app functions under app.
Apps map[string]bool
// Globals are the script's other globals: its tools and the built-ins.
Globals map[string]bool
}
Env is what an island script reaches besides what its parts declare.
type Globals ¶
type Globals struct {
// contains filtered or unexported fields
}
Globals is what the accepted parts of one script left in its global scope. The zero value is the scope before the first part.
type Widget ¶
type Widget struct {
Params *jsonschema.Schema
Patch *jsonschema.Schema
}
Widget is a view or control.
Click to show internal directories.
Click to hide internal directories.