4 ms·
my Go code is littered with these statements solely to make it explicit that I intend to implement that interface
by badrequest 7y ago
my Go code is littered with these statements solely to make it explicit that I intend to implement that interface
- wst_ 7y agoWhat'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.