aboutsummaryrefslogtreecommitdiff
path: root/models/model.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/model.go')
-rw-r--r--models/model.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/models/model.go b/models/model.go
index 354b3bd..8832ce1 100644
--- a/models/model.go
+++ b/models/model.go
@@ -3,7 +3,10 @@ package models
import "github.com/dgraph-io/badger/v3"
type model interface {
+ Name() string
Save(txn *badger.Txn) error
+ SaveDedup(txn *badger.Txn) error
Keybase() string
Key() string
+ DedupKey() string
}