]> Cypherpunks repositories - gostls13.git/commit
add printf to fmt.
authorRob Pike <r@golang.org>
Fri, 24 Oct 2008 23:33:29 +0000 (16:33 -0700)
committerRob Pike <r@golang.org>
Fri, 24 Oct 2008 23:33:29 +0000 (16:33 -0700)
commit418b97c67013c892d88443949ed913ff96baf25e
treef79a59e2a78ca8a08ef15d2d942e5c34b9559ce9
parent689b28fd9634c256c8c3288eea0efd2083c5a237
add printf to fmt.
uses reflection to determine arguments.
for now, the arguments must be provided as a struct; the compiler
will soon do the packaging automatically for "..." parameters.

R=rsc
DELTA=1436  (909 added, 520 deleted, 7 changed)
OCL=17823
CL=17831
src/lib/fmt/Makefile
src/lib/fmt/format.go [moved from src/lib/fmt/fmt.go with 100% similarity]
src/lib/fmt/print.go [new file with mode: 0644]
src/lib/reflect/tostring.go
src/lib/reflect/value.go