code: func (svc *DynamoAccessor) DeleteAll(ctx context.Context) error {
  	var deleteErr error
  	input := &dynamodb.ScanInput{
  		TableName: aws.String(svc.dynamoTableName()),
  	}
  
  	scanHandler := func(output *dynamodb.ScanOutput, lastPage bool) bool {
  		writeDeleteRequests := make([]*dynamodb.WriteRequest, len(output.Items))
  		for index, eachItem := range output.Items {
  			keyID := ""
  			stringVal, stringValOk := eachItem[attrID]
  			if stringValOk && stringVal.S != nil {
  				keyID = *(stringVal.S)
  			}
  			writeDeleteRequests[index] = &dynamodb.WriteRequest{
  				DeleteRequest: &dynamodb.DeleteRequest{
  					Key: dynamoKeyValueAttrMap(keyID),
  				},
  			}
  		}
  		input := &dynamodb.BatchWriteItemInput{
  			RequestItems: map[string][]*dynamodb.WriteRequest{
  				svc.dynamoTableName(): writeDeleteRequests,
  			},
  		}
  		_, deleteErr = svc.dynamoSvc(ctx).BatchWriteItem(input)
  		return deleteErr == nil
  	}
  
  	scanErr := svc.dynamoSvc(ctx).ScanPagesWithContext(ctx, input, scanHandler)
  	if scanErr != nil {
  		return scanErr
  	}
  	return deleteErr
  }
docs: // DeleteAll handles deleting all the items