Remix clone Hacker News
new
|
show
|
ask
|
jobs
Github
▲
pdmccormick
2 hours ago
This also works:
var _ MyInterface = (*MyStruct)(nil)
In my mind as I read this, I am reminded that it is the receiver type *MyStruct that implements MyInterface. YMMV.