blocto / solana-go-sdk

Solana Golang SDK
https://blocto.github.io/solana-go-sdk/
MIT License
375 stars 96 forks source link

Add a client interface for mocks generation #163

Closed denisandreenko closed 1 month ago

denisandreenko commented 5 months ago

Most of those who use the solana client in their projects need to cover the code with unit tests. To do this, there is a good solution to have a client interface so mockups can be generated for it. (E.g using https://github.com/vektra/mockery)