News for hackers. Stuff that matters.
Re:What I learned in 2017 writing Go by jdc0589 on Wednesday January 03, 2018 @05:07PM (#16065727)
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)

There are no comments on this comment yet.