aboutsummaryrefslogtreecommitdiff
path: root/tx.go
diff options
context:
space:
mode:
Diffstat (limited to 'tx.go')
-rw-r--r--tx.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/tx.go b/tx.go
index 30100bf..14003f8 100644
--- a/tx.go
+++ b/tx.go
@@ -84,14 +84,6 @@ func (tx *Tx) Assert(p bool) {
}
}
-func (tx *Tx) Return(v interface{}) {
- panic(_return{v})
-}
-
-type _return struct {
- value interface{}
-}
-
func (tx *Tx) reset() {
for k := range tx.reads {
delete(tx.reads, k)