Go fmt ./...

This commit is contained in:
tsmethurst 2021-05-21 23:03:55 +02:00
commit 762dfe4b7e
7 changed files with 53 additions and 51 deletions

View file

@ -32,12 +32,14 @@ const (
// ErrNoEntries is to be returned from the DB interface when no entries are found for a given query.
type ErrNoEntries struct{}
func (e ErrNoEntries) Error() string {
return "no entries"
}
// ErrAlreadyExists is to be returned from the DB interface when an entry already exists for a given query or its constraints.
type ErrAlreadyExists struct{}
func (e ErrAlreadyExists) Error() string {
return "already exists"
}