aboutsummaryrefslogtreecommitdiff
path: root/models/model.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/model.go')
-rw-r--r--models/model.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/models/model.go b/models/model.go
index 56f1680..354b3bd 100644
--- a/models/model.go
+++ b/models/model.go
@@ -5,4 +5,5 @@ import "github.com/dgraph-io/badger/v3"
type model interface {
Save(txn *badger.Txn) error
Keybase() string
+ Key() string
}