From 0e13808b7194b32f855838586aec195695babac1 Mon Sep 17 00:00:00 2001 From: Christoph Polcin Date: Fri, 24 Oct 2014 11:25:28 +0200 Subject: [PATCH] add utils.log --- utils.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/utils.go b/utils.go index 8ab3cf6..febe5d7 100644 --- a/utils.go +++ b/utils.go @@ -13,6 +13,10 @@ import ( "time" ) +func log(msg interface{}) { + fmt.Println(msg) +} + func Error(r *http.Response) error { return errors.New(fmt.Sprintf("%s - %s %s", r.Status, r.Request.Method, r.Request.URL.String())) }