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
at least go1.6 and go tip
https://play.golang.org/p/x7SIv3oQV3
fmt.Printf("|%6v|\n",1) fmt.Printf("|%6.v|\n",1) fmt.Printf("|%6v|\n",0) fmt.Printf("|%6.v|\n",0)
output is:
| 1| | 1| | 0| ||
Last line should contain 6 spaces:
| |
Padding should also apply to 0 like it does for any other integer when precision is set to zero.
The text was updated successfully, but these errors were encountered:
CL https://golang.org/cl/20920 mentions this issue.
Sorry, something went wrong.
aec8e14
No branches or pull requests
at least go1.6 and go tip
https://play.golang.org/p/x7SIv3oQV3
output is:
Last line should contain 6 spaces:
Padding should also apply to 0 like it does for any other integer when precision is set to zero.
The text was updated successfully, but these errors were encountered: