1env GO111MODULE=on 2 3go mod init example.com/foo 4 5# 'go get bar@none' should be a no-op if module bar is not active. 6go get example.com/bar@none 7go list -m all 8! stdout example.com/bar 9 10go get example.com/bar@none 11go list -m all 12! stdout example.com/bar