On Mon, Jul 11, 2016 at 7:16 AM, C Banning <clbann...@gmail.com> wrote:
> https://play.golang.org/p/BmKQTewR9w

No need to do string(b.Bytes()); buffer satisfies the fmt.Stringer interface:

https://godoc.org/bytes#Buffer.String

—Sam


-- 
Sam Whited
pub 4096R/54083AE104EA7AD3
https://blog.samwhited.com

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to