initial commit

This commit is contained in:
Gardient
2018-06-07 22:50:47 +03:00
commit 926aeb4eee
7 changed files with 252 additions and 0 deletions

8
utils/panicOnError.go Normal file
View File

@@ -0,0 +1,8 @@
package utils
// PanicOnError will panic if err goven is not nil
func PanicOnError(err error) {
if err != nil {
panic(err)
}
}