3 ms·
A funny quirk about golang is you cannot have circular dependencies at the package level, but you can have circular dependencies in go.mod The tl;dr is don't d
by darioush 1y ago
A funny quirk about golang is you cannot have circular dependencies at the package level, but you can have circular dependencies in go.mod
The tl;dr is don't do that either.
- 0xjnml 1y agogo.mod files have no dependencies, so neither they can have circular dependencies. go.mod files just list the dependencies of their respective package.