From 44042fc484ff29df9c01e59aa3a02bea571f52ca Mon Sep 17 00:00:00 2001 From: vankongv Date: Tue, 10 Sep 2024 16:02:12 +1000 Subject: [PATCH] chore: string input --- interface.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface.go b/interface.go index a69faa1..71bfd3b 100644 --- a/interface.go +++ b/interface.go @@ -25,7 +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 Attribute, sk Attribute) error + DeleteItem(ctx context.Context, pk string, sk string) error } type TransactionAPI interface {