Accept pointers only. Fixes #48

This commit is contained in:
Asdine El Hrychy
2016-06-19 18:26:18 +02:00
parent bbb140903f
commit 97b157d5b7
17 changed files with 89 additions and 28 deletions

View File

@@ -42,4 +42,7 @@ var (
// ErrNotInTransaction is returned when trying to rollback or commit when not in transaction.
ErrNotInTransaction = errors.New("not in transaction")
// ErrUnAddressable is returned when a struct or an exported field of a struct is unaddressable
ErrUnAddressable = errors.New("unaddressable value")
)