diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2016-08-14 18:21:10 +0200 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2016-08-14 18:21:10 +0200 |
commit | f6fe29c80d11662a169806dcf413ecdedcb28fa3 (patch) | |
tree | 9958034c27521f720f8c5d83c12120ada196f48a /core/storage.go | |
parent | 91bf16b2336e6f80f0742be729582fe5fbbada83 (diff) | |
download | go-git-f6fe29c80d11662a169806dcf413ecdedcb28fa3.tar.gz |
core: Storage, removing err returning *Storages
Diffstat (limited to 'core/storage.go')
-rw-r--r-- | core/storage.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/storage.go b/core/storage.go index 70a47e6..cb8f45d 100644 --- a/core/storage.go +++ b/core/storage.go @@ -2,8 +2,8 @@ package core // Storage storage of objects and references type Storage interface { - ObjectStorage() (ObjectStorage, error) - ReferenceStorage() (ReferenceStorage, error) + ObjectStorage() ObjectStorage + ReferenceStorage() ReferenceStorage } // ObjectStorage generic storage of objects |