From 245b84d0b4de00748d0a45a3cfe45cf2e37a1be0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Carlos=20Mej=C3=ADas=20Rodr=C3=ADguez?= Date: Fri, 9 Aug 2019 14:25:43 -0400 Subject: [PATCH] Remove error checking helper in util/errors.go It was previously moved to common/errors.go --- util/errors.go | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 util/errors.go diff --git a/util/errors.go b/util/errors.go deleted file mode 100644 index d134c84..0000000 --- a/util/errors.go +++ /dev/null @@ -1,12 +0,0 @@ -package util - -import ( - "github.com/sirupsen/logrus" -) - -// CheckError checks if an error occurred (it's not nil) -func CheckError(err error) { - if err != nil { - logrus.Fatal(err.Error()) - } -}