eval

package
v0.0.0-...-dabee0d Latest Latest
Warning

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

Go to latest
Published: Nov 16, 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 ErrEval

type ErrEval struct {
	Issues Issues
}

func (*ErrEval) Error

func (e *ErrEval) Error() string

type Float

type Float struct {
	Name     string
	Value    float32
	Positive bool
	Negative bool
	Fixed    float32
	Min      float32
	Max      float32
}

type Int

type Int struct {
	Name     string
	Value    int
	Positive bool
	Negative bool
	Fixed    int
	Min      int
	Max      int
}

type Issues

type Issues []string

type ModelEval

type ModelEval struct {
	Strings []String
	Floats  []Float
	Ints    []Int
	// contains filtered or unexported fields
}

func (*ModelEval) Validate

func (m *ModelEval) Validate() error

type String

type String struct {
	Name    string
	Value   string
	Fixed   int
	Min     int
	Max     int
	Pattern string
}

Jump to

Keyboard shortcuts

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