Book represents information about a book.
| 2 | |
| 3 | // Book represents information about a book. |
| 4 | type Book struct { |
| 5 | Title string |
| 6 | Author string |
| 7 | Copies int |
| 8 | ID int |
| 9 | } |
| 10 | |
| 11 | func GetAllBooks(catalog map[int]Book) []Book { |
| 12 | result := []Book{} |
nothing calls this directly
no outgoing calls
no test coverage detected