-
Notifications
You must be signed in to change notification settings - Fork 17.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmd/go: go1.11 try to write something in GOROOT(/usr/lib/go) #27482
Comments
I set GOPATH=/tmp/go to reproduce it write the same codes, if I run
|
I create go.mod in /tmp/go/src/test, codes is in /tmp/go/src/test |
|
|
Duplicate of #27285 |
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?1.11
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?What did you do?
write some codes for example:
and then
GO111MODULE=on go build -x -i -o /tmp/dns_test test.go
What did you expect to see?
final result is
&{{0xc0000b4080}}
What did you see instead?
The text was updated successfully, but these errors were encountered: