Merge pull request #49 from go-park-mail-ru/add_photos #260
Annotations
10 errors and 1 warning
internal/pkg/attractions/usecase/usecase_test.go#L68
cannot use repo (variable of type *mock_attractions.MockPlaceRepo) as attractions.PlaceRepo value in argument to NewPlaceUsecase: *mock_attractions.MockPlaceRepo does not implement attractions.PlaceRepo (wrong type for method SearchPlaces)
|
internal/pkg/attractions/usecase/usecase_test.go#L112
cannot use repo (variable of type *mock_attractions.MockPlaceRepo) as attractions.PlaceRepo value in argument to NewPlaceUsecase: *mock_attractions.MockPlaceRepo does not implement attractions.PlaceRepo (wrong type for method SearchPlaces)
|
internal/pkg/attractions/usecase/usecase_test.go#L145
cannot use repo (variable of type *mock_attractions.MockPlaceRepo) as attractions.PlaceRepo value in argument to NewPlaceUsecase: *mock_attractions.MockPlaceRepo does not implement attractions.PlaceRepo (wrong type for method SearchPlaces)
|
internal/pkg/attractions/usecase/usecase_test.go#L188
cannot use repo (variable of type *mock_attractions.MockPlaceRepo) as attractions.PlaceRepo value in argument to NewPlaceUsecase: *mock_attractions.MockPlaceRepo does not implement attractions.PlaceRepo (wrong type for method SearchPlaces)
|
internal/pkg/attractions/usecase/usecase_test.go#L235
cannot use repo (variable of type *mock_attractions.MockPlaceRepo) as attractions.PlaceRepo value in argument to NewPlaceUsecase: *mock_attractions.MockPlaceRepo does not implement attractions.PlaceRepo (wrong type for method SearchPlaces)
|
internal/pkg/attractions/usecase/usecase_test.go#L296
cannot use repo (variable of type *mock_attractions.MockPlaceRepo) as attractions.PlaceRepo value in argument to NewPlaceUsecase: *mock_attractions.MockPlaceRepo does not implement attractions.PlaceRepo (wrong type for method SearchPlaces)
|
internal/pkg/attractions/usecase/usecase_test.go#L297
not enough arguments in call to u.SearchPlaces
|
internal/pkg/attractions/usecase/usecase_test.go#L359
cannot use repo (variable of type *mock_attractions.MockPlaceRepo) as attractions.PlaceRepo value in argument to NewPlaceUsecase: *mock_attractions.MockPlaceRepo does not implement attractions.PlaceRepo (wrong type for method SearchPlaces)
|
internal/pkg/categories/delivery/http/handler_test.go#L29
cannot use mockUsecase (variable of type *mock_categories.MockCategoriesRepository) as gen.CategoriesClient value in argument to NewCategoriesHandler: *mock_categories.MockCategoriesRepository does not implement gen.CategoriesClient (wrong type for method GetCategories)
|
|
|
This job failed
Loading