diff --git a/README.md b/README.md index 539f6e9..8cea3b3 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ table, err := dynago.NewClient(ctx, dynago.ClientOptions{ ### Run dynago.locally ```sh -docker run -p docker run -p 8000:8000 amazon/dynago.local +docker run -p 8000:8000 amazon/dynamodb-local ``` ```go diff --git a/interface.go b/interface.go index f6b1cff..71bfd3b 100644 --- a/interface.go +++ b/interface.go @@ -25,6 +25,7 @@ type WriteAPI interface { // Create or update given item in DynamoDB. Must implemenmt DynamoRecord interface. // DynamoRecord.GetKeys will be called to get values for parition and sort keys. PutItem(ctx context.Context, pk Attribute, sk Attribute, item interface{}) error + DeleteItem(ctx context.Context, pk string, sk string) error } type TransactionAPI interface {