Skip to content
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

fmt: mention %#v formats uint as hex #8470

Closed
kaey opened this issue Aug 4, 2014 · 3 comments
Closed

fmt: mention %#v formats uint as hex #8470

kaey opened this issue Aug 4, 2014 · 3 comments

Comments

@kaey
Copy link

kaey commented Aug 4, 2014

What does 'go version' print?
go version go1.2.2 linux/amd64

What steps reproduce the problem?
http://play.golang.org/p/iR8CiF-olo

What happened?
Uint value is printed as hex.

What should have happened instead?
It should be mentioned in docs.

Please provide any additional information below.
https://groups.google.com/forum/?fromgroups#!topic/golang-nuts/VGKDqhdAxVM
@ianlancetaylor
Copy link
Contributor

Comment 1:

Labels changed: added repo-main, release-none, documentation.

Owner changed to @robpike.

Status changed to Accepted.

@gopherbot
Copy link

Comment 2:

CL https://golang.org/cl/154870043 mentions this issue.

@robpike
Copy link
Contributor

robpike commented Oct 4, 2014

Comment 3:

This issue was closed by revision a0c5adc.

Status changed to Fixed.

@golang golang locked and limited conversation to collaborators Jun 25, 2016
wheatman pushed a commit to wheatman/go-akaros that referenced this issue Jun 25, 2018
It was inconsistent.
Also test these better.
Also document the default format for types.
This wasn't written down.

Fixes golang#8470.

LGTM=iant
R=golang-codereviews, iant
CC=golang-codereviews
https://golang.org/cl/154870043
wheatman pushed a commit to wheatman/go-akaros that referenced this issue Jun 26, 2018
It was inconsistent.
Also test these better.
Also document the default format for types.
This wasn't written down.

Fixes golang#8470.

LGTM=iant
R=golang-codereviews, iant
CC=golang-codereviews
https://golang.org/cl/154870043
wheatman pushed a commit to wheatman/go-akaros that referenced this issue Jul 9, 2018
It was inconsistent.
Also test these better.
Also document the default format for types.
This wasn't written down.

Fixes golang#8470.

LGTM=iant
R=golang-codereviews, iant
CC=golang-codereviews
https://golang.org/cl/154870043
wheatman pushed a commit to wheatman/go-akaros that referenced this issue Jul 30, 2018
It was inconsistent.
Also test these better.
Also document the default format for types.
This wasn't written down.

Fixes golang#8470.

LGTM=iant
R=golang-codereviews, iant
CC=golang-codereviews
https://golang.org/cl/154870043
@rsc rsc unassigned robpike Jun 23, 2022
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants