Sign in
go
/
go
/
c777863f77bb77be2e6c336b78dee2089647ff0e
/
.
/
src
/
cmd
/
go
/
testdata
/
script
/
mod_off_init.txt
blob: 1339c8aef9679ce1ecbed258cc9ef73d7348ca78 [
file
] [
log
] [
blame
]
# '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 mod init: modules disabled by GO111MODULE=off; see ''go help modules'''