Skip to content

Commit 4458e0d

Browse files
committed
Some bug with the merge
1 parent 3727211 commit 4458e0d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Error/error.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
package Error
2+
3+
func CheckError(err error) {
4+
if err != nil {
5+
panic(err.Error())
6+
}
7+
}

0 commit comments

Comments
 (0)