vendredi 21 avril 2017

What's the best way to mock a dependency in GO when the dependency doesn't expose an interface

Im trying to mock http://ift.tt/2pZTWc7 and its proven to be a nightmare. I usually use gomock but I can't because theres no interface file for the dep. What's the best way to go about this?

Aucun commentaire:

Enregistrer un commentaire