Skip to content
This repository has been archived by the owner on Nov 21, 2023. It is now read-only.

goinsane/erf

Repository files navigation

erf

Go Reference

Package erf provides error management with stack trace. Erf is an error type that wraps the underlying error that stores and formats the stack trace. Please see godoc.

Examples

To run any example, please use the command like the following:

cd examples/
go run example1.go

Tests

To run all tests, please use the following command:

go test -v

To run all examples, please use the following command:

go test -v -run=^Example

To run all benchmarks, please use the following command:

go test -v -run=^Benchmark -bench=.