Sign in
go
/
go.git
/
a58afe44fa3be498e213bafa77455ffdfe5e23e2
/
.
/
src
/
cmd
/
go
/
testdata
/
script
/
mod_off_init.txt
blob: 2aec0b3ed5443d65c4980f76857d4d2870430875 [
file
]
# 'go mod init' should refuse to initialize a module if it will be
# ignored anyway due to GO111MODULE=off.
env GO111MODULE=off
! go mod init
stderr 'go: modules disabled by GO111MODULE=off; see ''go help modules'''