2 ms·
I've mostly spent my career in Python/Javascript and recently jumped back into Go. How a Go programmer can use an interface to effectively mock another object f
by luxurytent 6y ago
I've mostly spent my career in Python/Javascript and recently jumped back into Go. How a Go programmer can use an interface to effectively mock another object feels very natural and core to the language, I like it.
(I'm probably using incorrect terminology here, so happy if someone corrects me)