This commit is contained in:
2023-06-23 12:21:35 -04:00
parent 612feee721
commit b01b26b12d
13 changed files with 290 additions and 144 deletions

13
model/dadjoke.go Normal file
View File

@@ -0,0 +1,13 @@
package model
type DadJokes struct {
ID uint `gorm: "primary key;autoIncrement" json:"id"`
Author *string `json:"author"`
Title *string `json:"title"`
Publisher *string `json:"publisher"`
}
type DadJoke struct {
Author string `json:"author"`
Title string `json:"title"`
Publisher string `json:"publisher"`
}