]> Cypherpunks repositories - gostls13.git/commit
fmt: add Errorf helper function
authorAndrew Gerrand <adg@golang.org>
Fri, 1 Oct 2010 04:04:55 +0000 (14:04 +1000)
committerAndrew Gerrand <adg@golang.org>
Fri, 1 Oct 2010 04:04:55 +0000 (14:04 +1000)
commit558477eeb16aa81bc8bd7776c819cb98f96fc5c1
tree94c650e5fd77dc4fba89fa423cb3907f5bcc9629
parent57858b70fba9989785b318a1d5e0abe098b3c540
fmt: add Errorf helper function

This crops up in a lot of places.
It's just a one-liner, but doesn't add any dependancies.
Seems worth it.

R=r, r2
CC=golang-dev
https://golang.org/cl/2344041
src/pkg/fmt/print.go