For now, you can use this ~~~ go env -w GO111MODULE=auto ~~~ See also https://blog.golang.org/go116-module-changes