HN
Hacker News
Top
New
Best
Ask
Show
Jobs
One-Function Interfaces in Golang | Hacker News Reader
One-Function Interfaces in Golang
pixelstech.net
5 points
·
misonic
·
·
1 comment
Open article
Save
View on HN
myshkin5
·
If are doing this to ease DI and mocking, just use a mocking library that supports function mocks:
https://moqueries.org/
Reply on news.ycombinator.com