Versions in this module Expand all Collapse all v1 v1.12.12 Dec 15, 2023 Changes in this version + func FromDynamoDBStreams(from streams.AttributeValue) (ddb.AttributeValue, error) + func FromDynamoDBStreamsList(from []streams.AttributeValue) (to []ddb.AttributeValue, err error) + func FromDynamoDBStreamsMap(from map[string]streams.AttributeValue) (to map[string]ddb.AttributeValue, err error) + func Marshal(in interface{}) (types.AttributeValue, error) + func MarshalList(in interface{}) ([]types.AttributeValue, error) + func MarshalListWithOptions(in interface{}, optFns ...func(*EncoderOptions)) ([]types.AttributeValue, error) + func MarshalMap(in interface{}) (map[string]types.AttributeValue, error) + func MarshalMapWithOptions(in interface{}, optFns ...func(*EncoderOptions)) (map[string]types.AttributeValue, error) + func MarshalWithOptions(in interface{}, optFns ...func(*EncoderOptions)) (types.AttributeValue, error) + func Unmarshal(av types.AttributeValue, out interface{}) error + func UnmarshalList(l []types.AttributeValue, out interface{}) error + func UnmarshalListOfMaps(l []map[string]types.AttributeValue, out interface{}) error + func UnmarshalListOfMapsWithOptions(l []map[string]types.AttributeValue, out interface{}, ...) error + func UnmarshalListWithOptions(l []types.AttributeValue, out interface{}, ...) error + func UnmarshalMap(m map[string]types.AttributeValue, out interface{}) error + func UnmarshalMapWithOptions(m map[string]types.AttributeValue, out interface{}, ...) error + func UnmarshalWithOptions(av types.AttributeValue, out interface{}, ...) error + type DecodeTimeAttributes struct + N func(string) (time.Time, error) + S func(string) (time.Time, error) + type Decoder struct + func NewDecoder(optFns ...func(*DecoderOptions)) *Decoder + func (d *Decoder) Decode(av types.AttributeValue, out interface{}, opts ...func(*Decoder)) error + type DecoderOptions struct + DecodeTime DecodeTimeAttributes + TagKey string + UseNumber bool + type Encoder struct + func NewEncoder(optFns ...func(*EncoderOptions)) *Encoder + func (e *Encoder) Encode(in interface{}) (types.AttributeValue, error) + type EncoderOptions struct + EncodeTime func(time.Time) (types.AttributeValue, error) + NullEmptySets bool + TagKey string + type InvalidMarshalError struct + func (e *InvalidMarshalError) Error() string + type InvalidUnmarshalError struct + Type reflect.Type + func (e *InvalidUnmarshalError) Error() string + type Marshaler interface + MarshalDynamoDBAttributeValue func() (types.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 types.AttributeValue) error + func (e UnixTime) MarshalDynamoDBAttributeValue() (types.AttributeValue, error) + func (e UnixTime) String() string + type UnmarshalError struct + Err error + Type reflect.Type + Value string + func (e *UnmarshalError) Error() string + func (e *UnmarshalError) Unwrap() error + type UnmarshalTypeError struct + Err error + Type reflect.Type + Value string + func (e *UnmarshalTypeError) Error() string + func (e *UnmarshalTypeError) Unwrap() error + type Unmarshaler interface + UnmarshalDynamoDBAttributeValue func(types.AttributeValue) error