Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VariantE ¶
type VariantE interface {
IsNil() bool
IsZero() bool
Uint8E() (uint8, error)
Uint16E() (uint16, error)
Uint32E() (uint32, error)
Uint64E() (uint64, error)
UintE() (uint, error)
Int8E() (int8, error)
Int16E() (int16, error)
Int32E() (int32, error)
Int64E() (int64, error)
IntE() (int, error)
ByteE() (byte, error)
Float32E() (float32, error)
Float64E() (float64, error)
BoolE() (bool, error)
StringE() (string, error)
DurationE() (time.Duration, error)
TimeE() (time.Time, error)
Interface() any
Value() (driver.Value, error)
MarshalJSON() ([]byte, error)
}
func NewVariantE ¶
func NewVariantE(i interface{}) VariantE
NewVariantE create variant from given value
Click to show internal directories.
Click to hide internal directories.