package
0.0.0-20240721012632-f9442b7e7c82
Repository: https://github.com/getz-devs/librakeeper-server.git
Documentation: pkg.go.dev

# Functions

NewBookRepo creates a new BookRepo instance.
NewBookshelfRepo creates a new BookshelfRepo instance.

# Variables

ErrBookAlreadyExists occurs when trying to create a book with an ID that already exists.
ErrBookNotFound occurs when a book is not found in the database.
ErrBookshelfAlreadyExists occurs when trying to create a bookshelf with an ID that already exists.
ErrBookshelfNotFound occurs when a bookshelf is not found in the database.

# Structs

BookRepo implements the repository.BookRepo interface for MongoDB.
BookshelfRepo implements the repository.BookshelfRepo interface for MongoDB.