git clone https://github.com/sergunya/my_workspace; cd my_workspace/
go clean -modcache
go mod download
go list -m -json all
What did you expect to see?
email@example.com necessary to build my_app module is downloaded and has a "Dir" property in go list output.
What did you see instead?
There's no "Dir" property.
I tried to debug Go source code and found that checksumOk("") in src/cmd/go/internal/modload/build.go:275 returns false for github.com/samber/lo. Building my_app using go build adds the necessary checksum to go.work.sum and the issue disappears. It doesn't help to run go mod tidy or go work sync before go mod download.
The text was updated successfully, but these errors were encountered: