Must / Ignore
Must is a helper that wraps a call to a function returning value and error, and panics if the error is non-nil.
Usage:
go
// We can use Must function to panic if an error is not nil
val := errx.Must(strconv.Atoi("42"))
Ignore is a helper that wraps a call to a function returning error, and does nothing if the error is nil.
Usage:
go
// We can use Ignore function to ignore an error
val := errx.Ignore(strconv.Atoi("42"))