How to mock in your Go tests – Golang Tutorial
Since the most asked feature this week was mocking, here I show you how you can take advantage of structs and interfaces to mock any artifacts you might be using.
GitHub repo: https://github.com/federicoleon/go-testing
Hope you liked the video! If you did, please like and subscribe to get new videos as soon as I upload them!
If you want to go deeper into the language and other Software Engineering aspects: http://federicoleon.com/
Fede.
Comments are closed.