4 ms·
It really depends on the type of the project. You generally use `cmd` package if you have more than 2 binaries in your project. Or, in rare case, where you shi
by divan 7y ago
It really depends on the type of the project.
You generally use `cmd` package if you have more than 2 binaries in your project. Or, in rare case, where you ship a library and a binary (so you still can import a library by root package path).
Otherwise, you don't need cmd/ dir at all.