From c23b95e2f27e7240e6249eeb115a768ad9267199 Mon Sep 17 00:00:00 2001 From: "marko.tikvic" Date: Mon, 22 Apr 2019 14:46:39 +0200 Subject: [PATCH] removed error utility (not being used) --- error_util.go | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 error_util.go diff --git a/error_util.go b/error_util.go deleted file mode 100644 index a5a307a..0000000 --- a/error_util.go +++ /dev/null @@ -1,12 +0,0 @@ -package webutility - -import ( - "fmt" - - "git.to-net.rs/marko.tikvic/gologger" -) - -func WrapErrLoc(e error) error { - file, line := gologger.CallerFilenameAndLineNumber() - return fmt.Errorf("%s %d: %s", file, line, e.Error()) -} -- 1.8.1.2