Versions in this module Expand all Collapse all v1 v1.1.0 May 5, 2026 v1.0.0 May 3, 2026 Changes in this version + type MockDecoder struct + func NewMockDecoder(ctrl *gomock.Controller) *MockDecoder + func (m *MockDecoder) Decode(r *http.Request, val any) error + func (m *MockDecoder) EXPECT() *MockDecoderMockRecorder + type MockDecoderMockRecorder struct + func (mr *MockDecoderMockRecorder) Decode(r, val any) *gomock.Call + type MockGameFacade struct + func NewMockGameFacade(ctrl *gomock.Controller) *MockGameFacade + func (m *MockGameFacade) CreateGame(ctx context.Context, cg model.CreateGame) (int32, error) + func (m *MockGameFacade) DeleteGame(ctx context.Context, id int32, publisher string) error + func (m *MockGameFacade) EXPECT() *MockGameFacadeMockRecorder + func (m *MockGameFacade) GetCompaniesMap(ctx context.Context) (map[int32]model.Company, error) + func (m *MockGameFacade) GetGameByID(ctx context.Context, id int32) (model.Game, error) + func (m *MockGameFacade) GetGameModerations(ctx context.Context, gameID int32, publisher string) ([]model.Moderation, error) + func (m *MockGameFacade) GetGames(ctx context.Context, page, pageSize uint32, filter model.GamesFilter) ([]model.Game, uint64, error) + func (m *MockGameFacade) GetGenres(ctx context.Context) ([]model.Genre, error) + func (m *MockGameFacade) GetGenresMap(ctx context.Context) (map[int32]model.Genre, error) + func (m *MockGameFacade) GetPlatforms(ctx context.Context) ([]model.Platform, error) + func (m *MockGameFacade) GetPlatformsMap(ctx context.Context) (map[int32]model.Platform, error) + func (m *MockGameFacade) GetPublisherGames(ctx context.Context, publisher string) ([]model.Game, error) + func (m *MockGameFacade) GetTopCompanies(ctx context.Context, companyType string, limit int64) ([]model.Company, error) + func (m *MockGameFacade) GetTopGenres(ctx context.Context, limit int64) ([]model.Genre, error) + func (m *MockGameFacade) GetUserRatings(ctx context.Context, userID string) (map[int32]uint8, error) + func (m *MockGameFacade) RateGame(ctx context.Context, gameID int32, userID string, rating uint8) error + func (m *MockGameFacade) UpdateGame(ctx context.Context, id int32, upd model.UpdateGame) error + func (m *MockGameFacade) UploadGameImages(ctx context.Context, coverFiles, screenshotFiles []*multipart.FileHeader, ...) ([]model.File, error) + type MockGameFacadeMockRecorder struct + func (mr *MockGameFacadeMockRecorder) CreateGame(ctx, cg any) *gomock.Call + func (mr *MockGameFacadeMockRecorder) DeleteGame(ctx, id, publisher any) *gomock.Call + func (mr *MockGameFacadeMockRecorder) GetCompaniesMap(ctx any) *gomock.Call + func (mr *MockGameFacadeMockRecorder) GetGameByID(ctx, id any) *gomock.Call + func (mr *MockGameFacadeMockRecorder) GetGameModerations(ctx, gameID, publisher any) *gomock.Call + func (mr *MockGameFacadeMockRecorder) GetGames(ctx, page, pageSize, filter any) *gomock.Call + func (mr *MockGameFacadeMockRecorder) GetGenres(ctx any) *gomock.Call + func (mr *MockGameFacadeMockRecorder) GetGenresMap(ctx any) *gomock.Call + func (mr *MockGameFacadeMockRecorder) GetPlatforms(ctx any) *gomock.Call + func (mr *MockGameFacadeMockRecorder) GetPlatformsMap(ctx any) *gomock.Call + func (mr *MockGameFacadeMockRecorder) GetPublisherGames(ctx, publisher any) *gomock.Call + func (mr *MockGameFacadeMockRecorder) GetTopCompanies(ctx, companyType, limit any) *gomock.Call + func (mr *MockGameFacadeMockRecorder) GetTopGenres(ctx, limit any) *gomock.Call + func (mr *MockGameFacadeMockRecorder) GetUserRatings(ctx, userID any) *gomock.Call + func (mr *MockGameFacadeMockRecorder) RateGame(ctx, gameID, userID, rating any) *gomock.Call + func (mr *MockGameFacadeMockRecorder) UpdateGame(ctx, id, upd any) *gomock.Call + func (mr *MockGameFacadeMockRecorder) UploadGameImages(ctx, coverFiles, screenshotFiles, publisherName any) *gomock.Call