4 ms·
I've been using Go modules for a bit and I really like it. I can easily set up local dependencies using the `replace` keyword as well. For instance, all of the
by dimgl 8y ago
I've been using Go modules for a bit and I really like it. I can easily set up local dependencies using the `replace` keyword as well. For instance, all of the apps in `cmd` which need access to common packages are their own modules, and then I just add:
replace pkg => ../../pkg
And I can refer to everything inside of `pkg` (`pkg` is its own module as well).