Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
fmt: misleading description of %g and %G verbs #9012
http://golang.org/pkg/fmt describes the '%g' verb as 'whichever of %e or %f produces more compact output' (and similar for '%G'). This is surprising because '%g' may give different output (due to different precision) to both '%e' and '%f', as is explained a few paragraphs lower in the document. Suggestion is to clarify the descriptions in the verb table for '%g' and '%G' to make this clear.