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 }