News for hackers. Stuff that matters.
Re:One-Function Interfaces in Golang by myshkin5 on Sunday April 13, 2025 @11:01AM (#43673288)
If are doing this to ease DI and mocking, just use a mocking library that supports function mocks:

https://moqueries.org/

There are no comments on this comment yet.