first commit
This commit is contained in:
10
internal/model/model.go
Normal file
10
internal/model/model.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package model
|
||||
|
||||
import "gorm.io/gorm"
|
||||
|
||||
type Book struct {
|
||||
gorm.Model
|
||||
Title string `json:"title"`
|
||||
Author string `json:"author"`
|
||||
Rating int `json:"rating"`
|
||||
}
|
||||
Reference in New Issue
Block a user