File: Readme.md

package info (click to toggle)
golang-github-tj-assert 0.0.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 140 kB
  • sloc: makefile: 2
file content (5 lines) | stat: -rw-r--r-- 349 bytes parent folder | download
1
2
3
4
5
# assert [![GoDoc](https://godoc.org/github.com/tj/assert?status.svg)](https://godoc.org/github.com/tj/assert)

Assertion pkg for Go, copied from [github.com/stretchr/testify's](//github.com/stretchr/testify) require package.

I find early errors more useful than the `t.Errorf()` calls, which often fall through to nil pointers causing panics etc.