Add migrations and model go struct
This commit is contained in:
1 parent
9d8914bf26
commit
1524ebced8
6 files changed
+74
-1
No files matched your search
@@ -0,0 +1,21 @@
|
||||
package model
|
||||
|
||||
type Films struct {
|
||||
id int
|
||||
ru_title string
|
||||
orig_title string
|
||||
imdb_id string
|
||||
kinopoisk_id string
|
||||
posterUrl string
|
||||
posterUrlPreview string
|
||||
countries string
|
||||
genres map[string]interface{}
|
||||
year int
|
||||
description string
|
||||
ratingKinopoisk int
|
||||
ratingImdb int
|
||||
iframe_src string
|
||||
ratingImdbVoteCount int
|
||||
ratingKinopoiskVoteCount int
|
||||
media map[string]interface{}
|
||||
}
|
||||
Reference in new issue
Block a user