23 ms·
Do you mean that you're worried that calling a method on DummyJob will accidentally run some code you don't expect? If you don't initialize the embedded interf
by Jabbles 12y ago
Do you mean that you're worried that calling a method on DummyJob will accidentally run some code you don't expect?
If you don't initialize the embedded interface, non-overridden methods called on the struct will panic.
http://play.golang.org/p/4aqGof1ikp http://play.golang.org/p/4aqGof1ikp