aboutsummaryrefslogtreecommitdiffstats
path: root/storage/storer.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2017-02-21 16:03:39 +0100
committerMáximo Cuadros <mcuadros@gmail.com>2017-02-21 16:03:39 +0100
commited288b30de1ac3dcb3ce675c4b9af89eb4e6fcba (patch)
tree6eb908b839d6c225d95691d91e3d5ef5220f54c1 /storage/storer.go
parentd6a6decd1be0515faf36256ce06c58c7d662bbd0 (diff)
downloadgo-git-ed288b30de1ac3dcb3ce675c4b9af89eb4e6fcba.tar.gz
documentation and API improvements
Diffstat (limited to 'storage/storer.go')
-rw-r--r--storage/storer.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/storage/storer.go b/storage/storer.go
index 0a2c256..d217209 100644
--- a/storage/storer.go
+++ b/storage/storer.go
@@ -18,6 +18,9 @@ type Storer interface {
ModuleStorer
}
+// ModuleStorer allows interact with the modules' Storers
type ModuleStorer interface {
+ // Module returns a Storer reprensting a submodule, if not exists returns a
+ // new empty Storer is returned
Module(name string) (Storer, error)
}