10 lines
270 B
Go
10 lines
270 B
Go
package bookish_server
|
|
|
|
// Book describes a book object that will be returned from the books API.
|
|
type Book struct {
|
|
Title string `json:"title"`
|
|
Author *string `json:"author"`
|
|
YearPublished *string `json:"year"`
|
|
ISBN *string `json:"isbn"`
|
|
}
|