feat: almost done

frontend missing yet
This commit is contained in:
2024-11-06 16:19:27 +01:00
parent bcbb02a663
commit a4591aa177
8 changed files with 99 additions and 53 deletions
+9 -9
View File
@@ -9,15 +9,15 @@ import (
)
type Episode struct {
ID int32 `json:"id"`
TvShowID int32 `json:"tv_show_id"`
Season int32 `json:"season"`
Episode int32 `json:"episode"`
Released pgtype.Date `json:"released"`
Name string `json:"name"`
Plot string `json:"plot"`
AvgRating pgtype.Numeric `json:"avg_rating"`
VoteCount int32 `json:"vote_count"`
ID int32 `json:"id"`
TvShowID int32 `json:"tv_show_id"`
Season int32 `json:"season"`
Episode int32 `json:"episode"`
Released pgtype.Date `json:"released"`
Name string `json:"name"`
Plot string `json:"plot"`
AvgRating float32 `json:"avg_rating"`
VoteCount int32 `json:"vote_count"`
}
type TvShow struct {