package
0.0.0-20190709125917-42c42d410fdf
Repository: https://github.com/yunabe/lgo.git
Documentation: pkg.go.dev

# Functions

ExecLgoEntryPoint executes main under a new code execution context which is derived from parent.
ExitIfCtxDone checkes the current code execution status and throws Bailout to exit the execution if the execution is canceled.
FinalizeGoroutine is called when a goroutine invoked in lgo quits.
GetExecContext returns the context of the current code execution.
InitGoroutine is called internally before lgo starts a new goroutine so that lgo can manage goroutines.
LgoPrintln prints args with registered LgoPrinters.
LgoRegisterVar is used to register a variable to AllVars internally.
RegisterLgoPrinter registers a LgoPrinter to print the result of the last lgo expression.
UnregisterLgoPrinter removes a registered LgoPrinter.
ZeroClearAllVars clear all existing variables defined in lgo with zero-values.

# Constants

SelfPkgPath is the package path of this package.

# Variables

AllVars keeps pointers to all variables defined in the current lgo process.
Bailout is thrown to cancel lgo code execution internally.

# Structs

ExecutionState maintains the state of the current code execution in lgo.
A LgoContext carries a context of lgo execution.

# Interfaces

DataDisplayer is the interface that wraps Jupyter Notebook display_data protocol.
LgoPrinter is the interface that prints the result of the last lgo expression.