Interfaces Imagine having an interface called Runner that looks like this: type Runner interface { Run() error } And a struct called Worker that you want to implement the mentioned interface. What you need to do? Ofc the only thing required is t...

Markdown supported · ⌘↵ to post
No responses yet.