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: Printf %#v doesn't consider String() methods of types #9783
I ran into this with an enum type: http://play.golang.org/p/rK_gIV72ea
But itemType defines a String() method which, were it used, would make the Printf a lot more readable. Wasn't String() designed for Printf?
Is there a reason this can't or shouldn't be done? If not I would like to create and contribute a patch.