Drawn the skeleton code for the structure of the project

This commit is contained in:
Karma Riuk
2023-08-03 21:07:58 +02:00
parent 6d81f34a7c
commit fbe066db17
9 changed files with 95 additions and 0 deletions

10
utils/utils.go Normal file
View File

@ -0,0 +1,10 @@
package utils
import "log"
func Check(err error, msg string, args ...any) {
if err != nil {
log.Printf(msg, args...)
panic(err)
}
}