Closed chaz8080 closed 5 years ago
With go mod support, you can:
/vendor
./up
GOPATH
To convert to go modules from Gopkg:
cd goch go mod init go get
Running go mod init will create a go.mod file. Running go get will generate your go.sum file.
go mod init
go.mod
go get
go.sum
With those, you can safely get rid of:
Gopkg.lock
Gopkg.toml
https://github.com/ribice/goch/pull/6
thanks 👍
With go mod support, you can:
/vendor
./up
without having to adjust any Go envs, since dependencies will be installed by default to users'GOPATH
To convert to go modules from Gopkg:
Running
go mod init
will create ago.mod
file. Runninggo get
will generate yourgo.sum
file.With those, you can safely get rid of:
/vendor
Gopkg.lock
Gopkg.toml