Published
- 1 min read
go ensure implementation
The solution for this is noted below
go ensure implementation
Solution
// Will give you a compile-time error if
// Implementation doesn't imlpement Interface
var _ Interface = (*Implementation)(nil)
Try other methods by searching on the site. That is if this doesn’t work