]> Cypherpunks repositories - gostls13.git/commit
fmt: unify integer formatting
authorMartin Möhrmann <martisch@uos.de>
Fri, 18 Mar 2016 07:24:40 +0000 (08:24 +0100)
committerRob Pike <r@golang.org>
Sun, 20 Mar 2016 12:08:03 +0000 (12:08 +0000)
commit8d9ece9dde3a9dfc62f3e4dba0a48ec830cafb09
tree04365be1c20b6e0c36946ce978ca200c9e887757
parent3eaa3046295b9a5bdff0428060c5ffd46347651a
fmt: unify integer formatting

Deduplicate the verb switch for signed and unsigned integer formatting.

Make names of integer related functions consistent
with names of other fmt functions.

Consolidate basic integer tests.

Change-Id: I0c19c24f1c2c06a3b1a4d7d377dcdac3b36bb0f5
Reviewed-on: https://go-review.googlesource.com/20831
Run-TryBot: Rob Pike <r@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
src/fmt/fmt_test.go
src/fmt/format.go
src/fmt/print.go