TTDL-7 Added flag; Code clean up

This commit is contained in:
Pijus Kamandulis committed 2020-03-22 02:10:24 +02:00
1 parent 9a65746fd4
commit f9d35e3bf2
19 files changed
+188 -79

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
package utils
import (
"log"
)
// CheckErr - Checks if error and log
func CheckErr(err error) {
if err != nil {
log.Fatal(err)
}
}