package models import "github.com/dgraph-io/badger/v3" type model interface { Save(txn *badger.Txn) error Keybase() string Key() string }