4 ms·
mocking with interfaces is so straightforward, it just kind of happens without much thought if it something you are used to in other languages. The first thing
by jdc0589 9y ago
mocking with interfaces is so straightforward, it just kind of happens without much thought if it something you are used to in other languages. The first thing I did in my very first go project was mock the repository/DB tier out so I could learn go without focusing on learning a new DB at the same time (I was using dynamo for something ultimately)