expr

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bool

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

func NewBool

func NewBool(s string) (Bool, error)

func NewBoolForTest

func NewBoolForTest(t *testing.T, s string) Bool

func (*Bool) Empty

func (boolExpr *Bool) Empty() bool

func (*Bool) Run

func (boolExpr *Bool) Run(param interface{}) (bool, error)

func (*Bool) UnmarshalYAML

func (boolExpr *Bool) UnmarshalYAML(unmarshal func(interface{}) error) error

type String

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

func NewString

func NewString(s string) (String, error)

func NewStringForTest

func NewStringForTest(t *testing.T, s string) String

func (*String) Empty

func (str *String) Empty() bool

func (*String) Run

func (str *String) Run(param interface{}) (string, error)

func (*String) UnmarshalYAML

func (str *String) UnmarshalYAML(unmarshal func(interface{}) error) error

Jump to

Keyboard shortcuts

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