package
0.0.0-20240801125957-ccfc01de64b1
Repository: https://github.com/harshrishi/go-bookstore.git
Documentation: pkg.go.dev
# Functions
CreateBook creates a new book record in the database.
DeleteBook deletes a book by its ID from the database.
GetBookByID retrieves a book by its ID from the database and sends it in the response.
GetBooks retrieves all books from the database and sends them in the response.
UpdateBook updates a book's details by its ID.