Hacker News new | past | comments | ask | show | jobs | submit login

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)



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: