Versions in this module Expand all Collapse all v0 v0.2.0 Sep 10, 2023 v0.1.0 Sep 10, 2023 Changes in this version + func Quote(s string) string + func QuoteRune(r rune) string + type ArgMap map[string]interface + type Interpreter struct + Done <-chan int + func NewInterpreter(init interface{}) *Interpreter + func (ir *Interpreter) ErrorFilter(filt func(error) error) + func (ir *Interpreter) Eval(format string, args ...interface{}) error + func (ir *Interpreter) EvalAs(out interface{}, format string, args ...interface{}) error + func (ir *Interpreter) EvalAsBool(format string, args ...interface{}) (bool, error) + func (ir *Interpreter) EvalAsFloat(format string, args ...interface{}) (float64, error) + func (ir *Interpreter) EvalAsInt(format string, args ...interface{}) (int, error) + func (ir *Interpreter) EvalAsString(format string, args ...interface{}) (string, error) + func (ir *Interpreter) EvalBytes(s []byte) error + func (ir *Interpreter) RegisterCommand(name string, cbfunc interface{}) error + func (ir *Interpreter) RegisterCommands(name string, val interface{}) error + func (ir *Interpreter) Set(name string, val interface{}) error + func (ir *Interpreter) UnregisterCommand(name string) error + func (ir *Interpreter) UnregisterCommands(name string) error + func (ir *Interpreter) UploadImage(name string, img image.Image) error