Dima Kotik
banner
dkotik.com
Dima Kotik
@dkotik.com
A durable execution specialist in #Golang.
I loved this interview! Great questions and great discussion.
October 14, 2025 at 9:22 AM
Yes. Go is built around single method interfaces. Data layer is often a repository interface set with multiple methods. You can mock each of those, but it is less effort for more benefit to use a real ephemeral data layer for testing, so mocking is typically skipped.
October 5, 2025 at 6:12 AM
Yes you are right. Go community rarely mocks. In this case use a helper package that spins up a docker PG container just for testing, integration testing. There are several to choose from. I used the one call test containers or something.
October 5, 2025 at 5:36 AM
Reposted by Dima Kotik
Are you getting the notifications worked as well? GH website shows that I have unread notifications but the list is empty. I can however see the now banned repos listed as having unread items 🤷🏻‍♂️
September 25, 2025 at 6:11 PM