Package assert
Package assert provide a single function to emulate C-style asserts.
The goal of this package is to provide a call that will document and enforce
preconditions, postconditions, and invariants in code. Failures should
only result from program bugs. This package should not be used to replace
proper error handling.
Reference: https://golang.org/doc/faq#assertions,
https://golang.org/ref/spec#Run_time_panics
Install
The package can be installed from the command line using the
go tool.
go get bitbucket.org/rj/assert
Getting Started
- Package documentation and examples are on godoc.
Contribute
Feedback and PRs welcome.

License
BSD © Robert Johnstone