You will never see "if err != nil" in the go file again!
go get https://github.com/i0Ek3/noerrpackage main
import "github.com/i0Ek3/noerr"
func main() {
// show err then break
noerr.Xerr(err, msg...)
noerr.NoErr(err)
noerr.NoErrP(err)
noerr.NoErrF(err)
noerr.NoErrPc(err)
noerr.NoErrln(err)
}- support ok checking
- refactor
Pull requests and Issue are also welcome.
Give a ⭐️ if this project helped you!
MIT.