vendor/github.com/aws/aws-dax-go/dax/service.go:150:5: cannot use (*Dax)(nil) (type *Dax) as type dynamodbiface.DynamoDBAPI in assignment:
*Dax does not implement dynamodbiface.DynamoDBAPI (missing BatchExecuteStatement method)
We are aware of the build issue and will have a fix out shortly. I'll discuss your suggestion about not implementing DynamoDBAPI with the team. Thanks for your feedback.
See https://github.com/aws/aws-sdk-go/pull/3650 This causes build to fail.
May I recommend that you move https://github.com/aws/aws-dax-go/blob/master/dax/service.go#L150 to a test instead? Our code does not rely on
dynamodbiface.DynamoDBAPI
. Without that line our code would build properly since we rely on our own interface.