Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunSourceWithPrinter ¶
RunSourceWithPrinter runs source code on a fresh interpreter instance
Types ¶
type IPrinter ¶
type IPrinter interface { Println(a ...interface{}) (n int, err error) Fprintf(w io.Writer, format string, a ...interface{}) (n int, err error) Fprintln(w io.Writer, a ...interface{}) (n int, err error) }
IPrinter printer interface
type Representable ¶
type Representable interface {
Repr() string
}
Representable object that can be represented as a string
Click to show internal directories.
Click to hide internal directories.