Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
keymone
· 9y ago · 0 comments
point is typedefs aren't reusable at anonymous function declarations. imo that sucks. that's all i wanted to say.
Comments
[–]
davidarkemp2
9y ago
You could always declare the method on the Printer type...
https://play.golang.org/p/4MG8kgGEGM
[–]
keymone
OP
9y ago
where's the anonymous function with reuse of typedef in there?