Replaced repositories.Bundle with a database interface.
the build was successful

This commit is contained in:
2019-06-16 11:39:33 +02:00
parent 021f67ea4b
commit f6ad0602c2
6 changed files with 73 additions and 35 deletions
-7
View File
@@ -2,12 +2,5 @@ package repositories
import "errors"
// A Bundle is a set of repositories.
type Bundle struct {
Characters CharacterRepository
Changes ChangeRepository
Tags TagRepository
}
// ErrNotFound should be returned instead of any database-specific not found error.
var ErrNotFound = errors.New("Resource not found")