Remove error checking helper in util/errors.go

It was previously moved to common/errors.go
This commit is contained in:
Juan Carlos Mejías Rodríguez 2019-08-09 14:25:43 -04:00
parent 2e74ac508b
commit 245b84d0b4

View File

@ -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())
}
}