mirror of
https://github.com/FJurmanovic/wallet-go-api.git
synced 2026-02-06 06:08:16 +00:00
project structure
This commit is contained in:
9
pkg/utl/common/common.go
Normal file
9
pkg/utl/common/common.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package common
|
||||
|
||||
import "log"
|
||||
|
||||
func CheckError(err error) {
|
||||
if err != nil {
|
||||
log.Fatalf("Unable to execute the query. %v", err)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user