expr

package
v0.0.0-...-e9a2108 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BoolVM

type BoolVM struct {
	// contains filtered or unexported fields
}

func NewBoolVM

func NewBoolVM(code string) (*BoolVM, error)

func (*BoolVM) Run

func (v *BoolVM) Run(data Data) (bool, error)

type Data

type Data struct {
	Model string
}

type StringVM

type StringVM struct {
	// contains filtered or unexported fields
}

func NewStringVM

func NewStringVM(code string) (*StringVM, error)

func (*StringVM) Run

func (v *StringVM) Run(data Data) (string, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL