mirror of
https://github.com/restic/restic.git
synced 2026-08-19 12:03:18 +00:00
Before, build.go only unset GO111MODULE and GOPATH, so the Go compiler did not see either and worked in Module mode. But if the code is checked out below ~/go (the default GOPATH), it will detect that the source is within GOPATH and switch to non-Module mode. Now we're setting GO111MODULE to "on" explicitly.
16 KiB
16 KiB