If nothing is found on the server, returns results from open library API. Clicking on a book imports it.
11 lines
139 B
Go
11 lines
139 B
Go
package model
|
|
|
|
import "gorm.io/gorm"
|
|
|
|
type Author struct {
|
|
gorm.Model
|
|
Name string
|
|
Description string
|
|
OpenLibraryId string
|
|
}
|