How to use mocks in golang for unit tests - Building a web applicatio