From 280fa3d021a43165253ad4f71fcdc5094bfa17ff Mon Sep 17 00:00:00 2001 From: Eliot Whalan Date: Sun, 10 Jul 2016 12:24:09 +1000 Subject: [PATCH] Use log package --- pastebin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pastebin.go b/pastebin.go index c8ce8e9..e8c9bd6 100644 --- a/pastebin.go +++ b/pastebin.go @@ -70,7 +70,7 @@ type Page struct { // check error handling function func check(err error) { if err != nil { - fmt.Println(err) + log.Println(err) } }