You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pointer types are comparable. Two pointer values are equal if they point to the same variable or if both have value nil. Pointers to distinct zero-size variables may or may not be equal.
Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only.
Uh oh!
There was an error while loading. Please reload this page.
Go version
go version go1.24.2 darwin/amd64
Output of
go env
in your module/workspace:What did you do?
Ran 2 programs:
What did you see happen?
The first output was:
The second output was:
And if I use println instead of fmt.Println, both results are
false
What did you expect to see?
The same result for both programs
The text was updated successfully, but these errors were encountered: