Add repousers add migrations, add finbyid film repo
This commit is contained in:
1 parent
5b1b385531
commit
4165956d45
11 files changed
+191
-37
No files matched your search
@@ -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{}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package model
|
||||
|
||||
type User struct {
|
||||
Id int
|
||||
Login string
|
||||
Email string
|
||||
Password string
|
||||
Avatar_Url string
|
||||
Token string
|
||||
PermisionLVL int
|
||||
}
|
||||
Reference in new issue
Block a user