2 ms·
One fun minor point about implicit packages. Since Go strictly forbids circular dependencies between modules, you can declare an interface in module A that modu
by kyrra 13y ago
One fun minor point about implicit packages. Since Go strictly forbids circular dependencies between modules, you can declare an interface in module A that module B inherits without B ever knowing about that interface. Sure you could do some refactoring and create a shared third module, but this is a neat trick.