Value allows you to store values of any type supported by DynamoDB, as long as they implement this interface and encode themselves into a dynamodb.AttributeValue returned by ToAV. Every Redimo operation that stores data will accept the data as a Value. Some common value wrappers are provided, like
| 23 | // method on any type to implement custom encoding. When you receive the data wrapped in a ReturnValue, the ToAV method can |
| 24 | // be used to access the raw dynamo.AttributeValue struct, allowing you to do custom decoding. |
| 25 | type Value interface { |
| 26 | ToAV() dynamodb.AttributeValue |
| 27 | } |
| 28 | |
| 29 | // StringValue is a convenience value wrapper for a string, usable as |
| 30 | // StringValue{"hello"} |
no outgoing calls
no test coverage detected