3 ms·
This is kinda unrelated. But I am _very_ new to Go. If one were to start a serious project with Go in 2018, what's the recommended way? Are people using Go mod
by jatins 8y ago
This is kinda unrelated. But I am _very_ new to Go.
If one were to start a serious project with Go in 2018, what's the recommended way? Are people using Go modules? How to deal with 3rd party deps which dont have go.mod files?
When I previously explored Go, having all code under GOPATH was recommended, but seems like things have changed with `vgo`.
- ben0x539 8y agoModules are still in a beta pre-release kinda state, I think most people would stick to dep even for new projects right now.
- kaeshiwaza 8y agoDep has also issues, it's safer to continue to use Dep when you already use it but for new project it's recommended to switch now to go modules. Anyway, most of the time it doesn't change anythings to lock the version with dep or use minimal version selection.