We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
package main import "fmt" func f() {} func main() { fmt.Printf("%d\n", f) } This prints "4197376", not "%!d(func()=0x400c00)" as I would expect.
The text was updated successfully, but these errors were encountered:
Comment 2:
Owner changed to @robpike.
Status changed to Accepted.
Sorry, something went wrong.
Comment 3:
How does this relate to issue #3936 and revision 365d02e0927c ?
Comment 4:
Working as intended, or at least as a consequence of the desire to provide non-hex formats to pointers.
Status changed to WorkingAsIntended.
Comment 5:
I didn't realise we wanted to do that. Why do we have a %p verb?
No branches or pull requests
The text was updated successfully, but these errors were encountered: