mirror of
https://github.com/crunchy-labs/crunchy-cli.git
synced 2026-01-21 12:12:00 -06:00
Add new endpoints
This commit is contained in:
parent
382d19ee94
commit
08c46e50bb
5 changed files with 423 additions and 0 deletions
19
news.go
Normal file
19
news.go
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
package crunchyroll
|
||||
|
||||
// News contains all information about a news.
|
||||
type News struct {
|
||||
Title string `json:"title"`
|
||||
Link string `json:"link"`
|
||||
Image string `json:"image"`
|
||||
Creator string `json:"creator"`
|
||||
PublishDate string `json:"publish_date"`
|
||||
Description string `json:"description"`
|
||||
}
|
||||
|
||||
type TopNews struct {
|
||||
News
|
||||
}
|
||||
|
||||
type LatestNews struct {
|
||||
News
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue