Versions in this module Expand all Collapse all v1 v1.48.2 Nov 21, 2023 Changes in this version + func ConvertFrom(item *dynamodb.AttributeValue, v interface{}) (err error) + func ConvertFromList(item []*dynamodb.AttributeValue, v interface{}) (err error) + func ConvertFromMap(item map[string]*dynamodb.AttributeValue, v interface{}) (err error) + func ConvertTo(in interface{}) (item *dynamodb.AttributeValue, err error) + func ConvertToList(in interface{}) (item []*dynamodb.AttributeValue, err error) + func ConvertToMap(in interface{}) (item map[string]*dynamodb.AttributeValue, err error) + func Marshal(in interface{}) (*dynamodb.AttributeValue, error) + func MarshalList(in interface{}) ([]*dynamodb.AttributeValue, error) + func MarshalMap(in interface{}) (map[string]*dynamodb.AttributeValue, error) + func Unmarshal(av *dynamodb.AttributeValue, out interface{}) error + func UnmarshalList(l []*dynamodb.AttributeValue, out interface{}) error + func UnmarshalListOfMaps(l []map[string]*dynamodb.AttributeValue, out interface{}) error + func UnmarshalMap(m map[string]*dynamodb.AttributeValue, out interface{}) error + type Decoder struct + UseNumber bool + func NewDecoder(opts ...func(*Decoder)) *Decoder + func (d *Decoder) Decode(av *dynamodb.AttributeValue, out interface{}, opts ...func(*Decoder)) error + type Encoder struct + NullEmptyByteSlice bool + NullEmptyString bool + func NewEncoder(opts ...func(*Encoder)) *Encoder + func (e *Encoder) Encode(in interface{}) (*dynamodb.AttributeValue, error) + type InvalidMarshalError struct + func (e *InvalidMarshalError) Code() string + func (e *InvalidMarshalError) Error() string + func (e *InvalidMarshalError) Message() string + func (e InvalidMarshalError) OrigErr() error + type InvalidUnmarshalError struct + Type reflect.Type + func (e *InvalidUnmarshalError) Code() string + func (e *InvalidUnmarshalError) Error() string + func (e *InvalidUnmarshalError) Message() string + func (e InvalidUnmarshalError) OrigErr() error + type MarshalOptions struct + EnableEmptyCollections bool + SupportJSONTags bool + TagKey string + type Marshaler interface + MarshalDynamoDBAttributeValue func(*dynamodb.AttributeValue) error + type Number string + func (n Number) Float64() (float64, error) + func (n Number) Int64() (int64, error) + func (n Number) String() string + func (n Number) Uint64() (uint64, error) + type UnixTime time.Time + func (e *UnixTime) UnmarshalDynamoDBAttributeValue(av *dynamodb.AttributeValue) error + func (e UnixTime) MarshalDynamoDBAttributeValue(av *dynamodb.AttributeValue) error + func (e UnixTime) String() string + type UnmarshalError struct + Err error + Type reflect.Type + Value string + func (e *UnmarshalError) Code() string + func (e *UnmarshalError) Error() string + func (e *UnmarshalError) Message() string + func (e UnmarshalError) OrigErr() error + type UnmarshalTypeError struct + Type reflect.Type + Value string + func (e *UnmarshalTypeError) Code() string + func (e *UnmarshalTypeError) Error() string + func (e *UnmarshalTypeError) Message() string + func (e UnmarshalTypeError) OrigErr() error + type Unmarshaler interface + UnmarshalDynamoDBAttributeValue func(*dynamodb.AttributeValue) error