From 18d7e8eb4610a224c28ec848692d199669be3e8e Mon Sep 17 00:00:00 2001 From: Máximo Cuadros Date: Tue, 20 Sep 2016 15:23:37 +0200 Subject: fix build --- examples/fs_implementation/main.go | 6 ++++++ examples/storage/aerospike/storage.go | 4 ++++ 2 files changed, 10 insertions(+) (limited to 'examples') diff --git a/examples/fs_implementation/main.go b/examples/fs_implementation/main.go index 69ee0a0..e5d2851 100644 --- a/examples/fs_implementation/main.go +++ b/examples/fs_implementation/main.go @@ -1,5 +1,11 @@ package main +import "fmt" + +func main() { + fmt.Println("example to be fixed") +} + /* import ( "fmt" 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) } -- cgit