Implement annotations per user

This commit is contained in:
Deluan
2020-01-21 23:01:43 -05:00
parent e03304650d
commit d7116eebd4
26 changed files with 572 additions and 262 deletions
+4
View File
@@ -57,6 +57,10 @@ func (db *MockDataStore) User() model.UserRepository {
return db.MockedUser
}
func (db *MockDataStore) Annotation() model.AnnotationRepository {
return struct{ model.AnnotationRepository }{}
}
func (db *MockDataStore) WithTx(block func(db model.DataStore) error) error {
return block(db)
}