Closed gunsluo closed 5 years ago
I run GO111MODULE=on go mod tidy or GO111MODULE=on go get github.com/minio/dsync/v2@v2.0.0 and get a error message:
GO111MODULE=on go mod tidy
GO111MODULE=on go get github.com/minio/dsync/v2@v2.0.0
go: github.com/minio/dsync/v2@v2.0.0: go.mod has non-.../v2 module path "github.com/minio/dsync" (and .../v2/go.mod does not exist) at revision v2.0.0 go: error loading module requirements
here is a blog: https://blog.golang.org/using-go-modules.
I successfully run the command GO111MODULE=on go get github.com/minio/dsync@v2.0.0, but run GO111MODULE=on go mod tidy and get an error message.
GO111MODULE=on go get github.com/minio/dsync@v2.0.0
I run
GO111MODULE=on go mod tidy
orGO111MODULE=on go get github.com/minio/dsync/v2@v2.0.0
and get a error message:here is a blog: https://blog.golang.org/using-go-modules.