Closed VoyTechnology closed 5 years ago
@VoyTechnology I would very much like to switch to go modules completely. I'm not sure what tooling everyone uses to do Go development, but for VSCode (which I'm using), go modules are not yet fully supported:
https://github.com/Microsoft/vscode-go/wiki/Go-modules-support-in-Visual-Studio-Code
Are you OK with postponing a full switch to go modules?
So far I had no problems using modules with VSCode, but I am working outside of GOPATH for all my projects now, so maybe that's why I haven't encountered any problems.
I can postpone, this is not blocking me in any way. Perhaps we can keep all conversations about when to switch to modules in #38, so people can just watch that issue (if they are interested).
Go 1.11 added Go modules support. This is a direct addition of the necessary modules files using
go mod init
, which used the go dep lock file to determine the dependencies.Déjà vu? https://github.com/terra-farm/terraform-provider-virtualbox/pull/30
Ideally the
Gopkg.toml
andGopkg.lock
would be removed, but I know that go modules have not reached full support of the community yet, so I kept them for now, but let me know if they should be removed.