refactors data access layer to use pop ORM for eager loading, adds book titles rented to renters in response body
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
package rental
|
||||
|
||||
import "errors"
|
||||
|
||||
var (
|
||||
ErrInvalidBook = errors.New("book not supported in library")
|
||||
ErrUnavailableBook = errors.New("book is not available at this library")
|
||||
)
|
||||
Reference in New Issue
Block a user