package main func errcheck(err error) { if err != nil { panic(err) } }