Files
mangaGetter/internal/view/viewmodels.go
Pablu23 23f96e0ab5 Added Thumbnails and saving those to db,
also added Log for Locking and unlocking Rw, because there was a Problem with that, and now it stays
2024-02-23 14:59:08 +01:00

25 lines
332 B
Go

package view
type Image struct {
Path string
Index int
}
type ImageViewModel struct {
Title string
Images []Image
}
type MangaViewModel struct {
ID int
Title string
Number int
LastTime string
Url string
ThumbnailUrl string
}
type MenuViewModel struct {
Mangas []MangaViewModel
}