4 ms·
point is typedefs aren't reusable at anonymous function declarations. imo that sucks. that's all i wanted to say.
by keymone 9y ago
point is typedefs aren't reusable at anonymous function declarations. imo that sucks. that's all i wanted to say.
- davidarkemp2 9y agoYou could always declare the method on the Printer type... https://play.golang.org/p/4MG8kgGEGM https://play.golang.org/p/4MG8kgGEGM
- keymone 9y agowhere's the anonymous function with reuse of typedef in there?