package
0.0.0-20201027173521-df1ffc243217
Repository: https://github.com/tomarrell/lbadd.git
Documentation: pkg.go.dev
# Functions
ByIndicator accepts a type indicator and returns the corresponding type.
ErrCannotCast returns an error that indicates, that a case from the given from type to the given to type cannot be performed.
ErrDataSizeMismatch returns an error that indicates, that data which had an unexpected size was passed in.
ErrTypeMismatch returns an error that indicates a type mismatch, and includes the expected and the actual type.
NewBool creates a new value of type Bool.
NewDate creates a new value of type Date.
NewFunction creates a new value of type Function.
NewInteger creates a new value of type Integer.
NewNull creates a new value of type null, with the given type.
NewReal creates a new value of type Real.
NewString creates a new value of type String.
# Constants
Known type indicators corresponding to known types.
Known type indicators corresponding to known types.
Known type indicators corresponding to known types.
Known type indicators corresponding to known types.
Known type indicators corresponding to known types.
Known type indicators corresponding to known types.
# Structs
BoolType is a basic type.
BoolValue is a value of type Bool.
DateType is a comparable type.
DateValue is a value of type Date.
FunctionType is a non-comparable type.
FunctionValue is a value of type Function.
IntegerType is a comparable type.
IntegerValue is a value of type Integer.
NullValue is a value of type null.
RealType is a comparable type.
RealValue is a value of type Real.
StringType is a comparable type.
StringValue is a value of type String.
# Interfaces
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Caster wraps the Cast method, which is used to transform the input value into an output value.
Comparator is the interface that wraps the basic compare method.
IsNuller wraps the method IsNull, which determines whether the value is a null value or not.
IsTyper wraps the basic method Is, which can check the type of a value.
Serializer wraps two basic methods for two-way serializing values.
No description provided by the author
Value describes an object that can be used as a value in the engine.
# Type aliases
Error is a sentinel error.
TypeIndicator is a type that is used to serialize types.