News for hackers. Stuff that matters.
Re:Go Interfaces, the Tricky Parts by badrequest on Tuesday October 01, 2019 @11:15AM (#21126233)
my Go code is littered with these statements solely to make it explicit that I intend to implement that interface
Re:Go Interfaces, the Tricky Parts by wst_ on Thursday October 03, 2019 @04:49AM (#21144918)
What's the point? You want to use those structs, isn't it? Wherever you pass the struct and it won't satisfy interface you'll know anyway.