blob: 8f858711897031db58c08c194c6db37bd1d9e50c [file] [log] [blame]
env GO111MODULE=on
env GOPROXY=direct
env GOSUMDB=off
[!net] skip
[!exec:git] skip
# if an import path ends in a major-version suffix,
# ensure that 'direct' mode can resolve the package to the module.
# For a while, (*modfetch.codeRepo).Stat was not checking for a go.mod file,
# which would produce a hard error at the subsequent call to GoMod.
go list all
-- go.mod --
go 1.13
-- main.go --
package main
import _ ""
func main() {}