update
This commit is contained in:
13
model/dadjoke.go
Normal file
13
model/dadjoke.go
Normal 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"`
|
||||
}
|
||||
Reference in New Issue
Block a user