package utils import "log" func Check(msg string, err error) { if err != nil { log.Fatalln(msg, err) } }