Add repousers add migrations, add finbyid film repo

This commit is contained in:
Shuhrat Tultaganov committed 2023-01-07 14:19:53 +03:00
1 parent 5b1b385531
commit 4165956d45
11 files changed
+191 -37

No files matched your search

+3 -3
View File
@@ -8,8 +8,8 @@ type Films struct {
Kinopoisk_id string
PosterUrl string
PosterUrlPreview string
Countries string
Genres string
Countries interface{}
Genres interface{}
Year int
Description string
RatingKinopoisk int
@@ -17,5 +17,5 @@ type Films struct {
Iframe_src string
RatingImdbVoteCount int
RatingKinopoiskVoteCount int
Media string
Media interface{}
}
+11
View File
@@ -0,0 +1,11 @@
package model
type User struct {
Id int
Login string
Email string
Password string
Avatar_Url string
Token string
PermisionLVL int
}