Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( FailedToMarshalItem = "Failed to marshal item" ErrorCouldNotPutItem = "Error, failed to enter new item" )
Functions ¶
This section is empty.
Types ¶
type DynamoClient ¶
type DynamoClient[T interface{}] struct {
// contains filtered or unexported fields
}
func NewDynamoClient ¶
func NewDynamoClient[T interface{}](dynamodbSession dynamodbiface.DynamoDBAPI, tableName string) DynamoClient[T]
func (*DynamoClient[T]) InsertInto ¶
func (d *DynamoClient[T]) InsertInto(item T) error
* * How do I customize the construction this type parameter list to use the generic values that I create? *
Click to show internal directories.
Click to hide internal directories.