5 points · by misonic · 1y ago · 1 comment
https://moqueries.org/
One-function Interfaces in GoLang
Saw a GoLang pattern where a function itself implements an interface—meaning the function alone is the implementation of the interface. It took me a while to figure this out when I first encount
PixelsTech