Use `%d` for integers, `%v` is for type that arent strings but that implement the `GoStringer` interface, or anything Go will see fit if it doesn't.  `%#v` is also convenient to have the type printed as a valid Go declaration.

See http://golang.org/pkg/fmt/#pkg-overview for more cool Go format string tricks.