summaryrefslogtreecommitdiff
path: root/app/store.go
diff options
context:
space:
mode:
Diffstat (limited to 'app/store.go')
-rw-r--r--app/store.go7
1 files changed, 5 insertions, 2 deletions
diff --git a/app/store.go b/app/store.go
index e7c27e4..747a224 100644
--- a/app/store.go
+++ b/app/store.go
@@ -3,6 +3,9 @@ package app
// Store ...
type Store interface {
Close() error
- GetViews(collection, id string) (int64, error)
- IncView(collection, id string) error
+ Migrate(collection, id string) error
+ GetViews_(collection, id string) (int64, error)
+ IncView_(collection, id string) error
+ GetViews(id string) (int64, error)
+ IncViews(id string) error
}