ErrHand is a simple Golang package to aid writing simple programs fast.
Import:
import (
"github.com/wkoszek/errhand"
)
API
errhand.CrashIfErr(err) <- will crash the program is err != nil
CrashIfErr - Golang way to crash the program on error
ErrHand is a simple Golang package to aid writing simple programs fast.
Import:
import (
"github.com/wkoszek/errhand"
)
API
errhand.CrashIfErr(err) <- will crash the program is err != nil
CrashIfErr - Golang way to crash the program on error
BSD 2-Clause "Simplified" License