mirror of
https://github.com/asdine/storm.git
synced 2025-11-02 21:04:02 +08:00
Accept pointers only. Fixes #48
This commit is contained in:
@@ -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")
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user