Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsBlockedImportError ¶
func IsNoBooleanResultError ¶
Types ¶
type BlockedImportError ¶
type BlockedImportError struct {
BlockedImport string
}
func (*BlockedImportError) Error ¶
func (e *BlockedImportError) Error() string
type GolangInterpreter ¶
type GolangInterpreter struct {
// contains filtered or unexported fields
}
func NewGolangInterpreter ¶
func NewGolangInterpreter(code string) *GolangInterpreter
func (*GolangInterpreter) EvalBool ¶
func (gi *GolangInterpreter) EvalBool() (bool, error)
func (*GolangInterpreter) EvalString ¶
func (gi *GolangInterpreter) EvalString() (string, error)
func (*GolangInterpreter) WithBindings ¶
func (gi *GolangInterpreter) WithBindings(bindings map[string]interface{}) *GolangInterpreter
type NoBooleanResultError ¶
type NoBooleanResultError struct {
Result interface{}
}
func (*NoBooleanResultError) Error ¶
func (e *NoBooleanResultError) Error() string
Click to show internal directories.
Click to hide internal directories.