Signature JSON encoding/decoding

Adds stretchr/testify dependency.
This commit is contained in:
Miloslav Trmač
2016-03-14 20:36:49 +01:00
parent 10a41bd0fc
commit 9595b3336f
29 changed files with 5799 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
package assert
// Assertions provides assertion methods around the
// TestingT interface.
type Assertions struct {
t TestingT
}
// New makes a new Assertions object for the specified TestingT.
func New(t TestingT) *Assertions {
return &Assertions{
t: t,
}
}
//go:generate go run ../_codegen/main.go -output-package=assert -template=assertion_forward.go.tmpl