Text file src/cmd/go/testdata/script/install_dep_version.txt

     1  # Regression test for Issue #54908. When running a go install module@version
     2  # with --mod=readonly moduleInfo was not setting the GoVersion for the module
     3  # because the checksumOk function was failing because modfetch.GoSumFile
     4  # was not set when running outside of a module.
     5  
     6  env GOTOOLCHAIN=local
     7  
     8  go install --mod=readonly example.com/depends/on/generics@v1.0.0

View as plain text