Closed malphi closed 2 months ago
At the moment we don't have a mock client. You could implement it for yourself, interfaces being implicit in Golang.
@malphi I wrote an Aerospike integration for Testcontainers, hope it helps. Requests / contributions welcome.
We have since added the ClientIfc
interface to the Go client. As we don't have a mock client, I'll close this issue. Feel free to file new issues or reopen this same ticket if you need more assistance.
I don't want to write an interface as a wrapper to support mock as.Client for UT, is there any other way can do?