Chat / backend /go /stores /debug.go
Baraaqasem's picture
Upload 711 files
651d019 verified
raw
history blame contribute delete
174 Bytes
//go:build debug
// +build debug
package main
import (
"github.com/rs/zerolog/log"
)
func assert(cond bool, msg string) {
if !cond {
log.Fatal().Stack().Msg(msg)
}
}