diff options
Diffstat (limited to '')
-rw-r--r-- | models/model.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/models/model.go b/models/model.go new file mode 100644 index 0000000..56f1680 --- /dev/null +++ b/models/model.go @@ -0,0 +1,8 @@ +package models + +import "github.com/dgraph-io/badger/v3" + +type model interface { + Save(txn *badger.Txn) error + Keybase() string +} |