structvalidate

package
v1.41.0 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Type_String uint16 = iota
	Type_Integer
	Type_Float
	Type_Bool
)

Variables

View Source
var (
	Command_IsType            = Command{1, 0}
	Command_Exists            = Command{2, 0}
	Command_Absent            = Command{3, 0}
	Command_EqualsEitherValue = Command{4, 0}
)

Functions

This section is empty.

Types

type Command

type Command [2]uint8

type Instruction

type Instruction struct {
	Id             string
	Command        Command // program -> instruction -> command
	Path           []string
	Type           uint16
	Values         []any
	FloatPrecision float64
}

func (*Instruction) Execute

func (i *Instruction) Execute(s any) (err error)

Jump to

Keyboard shortcuts

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