jokes-bapak2/api/app/handler/joke/schema.go

17 lines
332 B
Go
Raw Normal View History

package joke
2021-07-09 12:13:19 +00:00
type ResponseJoke struct {
Link string `json:"link,omitempty"`
Message string `json:"message,omitempty"`
2021-07-09 12:13:19 +00:00
}
2021-07-14 18:17:01 +00:00
type Today struct {
Date string `redis:"today:date"`
Image string `redis:"today:image"`
ContentType string `redis:"today:contentType"`
2021-07-09 12:13:19 +00:00
}
2021-08-04 02:51:22 +00:00
type Error struct {
Error string `json:"error"`
2021-08-04 02:51:22 +00:00
}