From 72a0de2f13a894c4899a64c44c6bf0c62d1c436f Mon Sep 17 00:00:00 2001 From: James Mills Date: Thu, 22 Sep 2016 13:11:26 +1000 Subject: [PATCH] Fixed example client to download files properly --- examples/client/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/client/main.go b/examples/client/main.go index 5c82008..7b69242 100644 --- a/examples/client/main.go +++ b/examples/client/main.go @@ -35,7 +35,7 @@ func main() { log.Fatal(err) } - fmt.Print(contents) + fmt.Print(string(contents)) } else { var ( bytes []byte