3 ms·
That's what the other gophers say too. Java has interfaces too, but it also has Mockito that makes testing much easier. You should look into it. Mocking library
by trungonnews 14y ago
That's what the other gophers say too. Java has interfaces too, but it also has Mockito that makes testing much easier. You should look into it. Mocking library will help reduce boiler code. You would know that if you had used one.
- drivebyacct2 14y ago>You would know that if you had used one. Cute.
- trungonnews 14y agoMy bad. :)
- burntsushi 14y agoGo interfaces are not the same as Java interfaces. Go interfaces are implemented using structural sub-typing.