...

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

Documentation: cmd/go/testdata/script

     1# Ensure go work sync works without any modules in go.work.
     2go work sync
     3
     4# Ensure go work sync works even without a go.mod file.
     5rm go.mod
     6go work sync
     7
     8-- go.work --
     9go 1.18
    10-- go.mod --
    11go 1.18
    12module foo

View as plain text