✨ Go Checkerr ✨

A very small utility package for reducing redundancy when dealing with error handling in Go. Intended as a lazy handling implementation for primarily non-concurrent non-production projects.

Example of redundancy:

    body, err := iotuil.ReadFile("file.txt")
    if err != nil {
        log.Fatalf(err)
    }

Example of package implementation:

  body, err := iotuil.ReadFile("file.txt")
  checkPanic(err)

GitHub

View Github