Task/tests for trips #262
Annotations
10 errors and 1 warning
linters:
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)
|
linters:
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)
|
linters:
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)
|
linters:
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)
|
linters:
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)
|
linters:
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)
|
linters:
internal/pkg/attractions/usecase/usecase_test.go#L297
not enough arguments in call to u.SearchPlaces
|
linters:
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)
|
linters:
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)
|
linters
issues found
|
linters
Restore cache failed: Dependencies file is not found in /home/runner/work/2024_2_ThereWillBeName/2024_2_ThereWillBeName. Supported file pattern: go.sum
|