aboutsummaryrefslogtreecommitdiffstats
path: root/examples/storage/aerospike/storage.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2016-09-20 15:23:37 +0200
committerMáximo Cuadros <mcuadros@gmail.com>2016-09-20 15:23:37 +0200
commit18d7e8eb4610a224c28ec848692d199669be3e8e (patch)
treec0d477dda8474ec48d2402c6a0fb2548a31c2f79 /examples/storage/aerospike/storage.go
parent7e8d7125446bb6e12a056a5a6ca979727790d0df (diff)
downloadgo-git-18d7e8eb4610a224c28ec848692d199669be3e8e.tar.gz
fix build
Diffstat (limited to 'examples/storage/aerospike/storage.go')
-rw-r--r--examples/storage/aerospike/storage.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/storage/aerospike/storage.go b/examples/storage/aerospike/storage.go
index a62d1dc..a9312ce 100644
--- a/examples/storage/aerospike/storage.go
+++ b/examples/storage/aerospike/storage.go
@@ -144,6 +144,10 @@ type TxObjectStorage struct {
Storage *ObjectStorage
}
+func (tx *TxObjectStorage) Get(t core.ObjectType, h core.Hash) (core.Object, error) {
+ return tx.Storage.Get(t, h)
+}
+
func (tx *TxObjectStorage) Set(obj core.Object) (core.Hash, error) {
return tx.Storage.Set(obj)
}