Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMongoRepo ¶
func NewMongoRepo(mongoURL, mongoDB, collection string) (service.ServiceResository, error)
Types ¶
type GameItem ¶
type GameItem struct { Id primitive.ObjectID `bson:"_id,omitempty"` Category string `bson:"category,omitempty"` Title string `bson:"title,omitempty"` Subtitle string `bson:"subtitle,omitempty"` Description string `bson:"description,omitempty"` Images []*apiv1.Images `bson:"images,omitempty"` Type int32 `bson:"type,omitempty"` Tags []string `bson:"tags,omitempty"` Author string `bson:"author,omitempty"` ReplayBundleUrlJson string `bson:"replayBundleUrlJson,omitempty"` Duration float64 `bson:"duration,omitempty"` IsDownloadable bool `bson:"isDownloadable,omitempty"` IsStreamable bool `bson:"isStreamable,omitempty"` Version string `bson:"version,omitempty"` }
Click to show internal directories.
Click to hide internal directories.