...

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

Documentation: cmd/go/testdata/script

     1! go build .
     2stderr 'go: no modules were found in the current workspace; see ''go help work'''
     3
     4-- go.work --
     5go 1.18
     6-- go.mod --
     7go 1.18
     8
     9module foo
    10-- foo.go --
    11package main
    12
    13func main() {}

View as plain text