Hacker News new | ask | show | jobs
by davidarkemp2 3277 days ago
You could always declare the method on the Printer type...

https://play.golang.org/p/4MG8kgGEGM

1 comments

where's the anonymous function with reuse of typedef in there?