Great post! Do you have a recommendation on handling dependencies in your Go projects? This has probably been the biggest source of confusion in my experience with Go.
I gave a chance to go mod even if the support is still experimental in the 1.11, because it should be stable in the release 1.12.
I bet it will be the future of Go dependency management and will replace go dep.
I found out that go mod is on the good way to be a solid dependency manager for Go. You just have to init your go.mod by typing go mod init and then, every time you'll type go get something, it will add it to your project's dependencies.
It's also a good way to organize your code in modules.
For further actions, you may consider blocking this person and/or reporting abuse
Great post! Do you have a recommendation on handling dependencies in your Go projects? This has probably been the biggest source of confusion in my experience with Go.
Hi Esteban!
I gave a chance to
go modeven if the support is still experimental in the 1.11, because it should be stable in the release 1.12.I bet it will be the future of Go dependency management and will replace
go dep.I found out that
go modis on the good way to be a solid dependency manager for Go. You just have to init yourgo.modby typinggo mod initand then, every time you'll typego get something, it will add it to your project's dependencies.It's also a good way to organize your code in modules.