From a69f9cfc6ba6ff332d1e2d8303020d49443ca8cb Mon Sep 17 00:00:00 2001 From: Julio Capote Date: Sun, 1 Jan 2023 19:38:31 -0500 Subject: working dedup --- models/model.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'models/model.go') 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 } -- cgit v1.2.3