changed it to only load latest chapter instead of all chapters for manga Added develop and release db from different locations Added stopwatch for future performance improvement metrics
26 lines
350 B
Go
26 lines
350 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
|
|
LastNumber int
|
|
LastTime string
|
|
Url string
|
|
ThumbnailUrl string
|
|
}
|
|
|
|
type MenuViewModel struct {
|
|
Mangas []MangaViewModel
|
|
}
|