package
0.0.0-20241021115229-a8bdbce37716
Repository: https://github.com/slpcat/docker-images.git
Documentation: pkg.go.dev

# Functions

AllBooks returns a slice of all books.
AllBooksHandler to be used as Handler for Book API.
CreateBook creates a new Book if it does not exist.
CreateBookHandler to be used as Handler for Book API.
DeleteBook removes a book from the map by ISBN key.
DeleteBookHandler to be used as Handler for Book API.
EchoHandler to be used as Handler for ECHO API.
GetBook returns the book for a given ISBN.
GetBookHandler to be used as Handler for Book API.
HelloHandler to be used as Handler for Hello API.
UpdateBook updates an existing book.
UpdateBookHandler to be used as Handler for Book API.

# Structs

Book type with Name, Author and ISBN.
Hello response structure.