Delisting unavailable pinned courses #1460
Annotations
11 errors and 1 warning
|
golangci-lint:
tools/testutils/testdata.go#L628
cannot use coursesMock (variable of type *mock_dao.MockCoursesDao) as dao.CoursesDao value in return statement: *mock_dao.MockCoursesDao does not implement dao.CoursesDao (missing method IsUserEnrolledInCourse) (typecheck)
|
golangci-lint:
api/audit_test.go#L11
could not import github.com/TUM-Dev/gocast/tools/testutils (-: # github.com/TUM-Dev/gocast/tools/testutils
|
golangci-lint:
tools/testutils/testdata.go#L628
cannot use coursesMock (variable of type *mock_dao.MockCoursesDao) as dao.CoursesDao value in return statement: *mock_dao.MockCoursesDao does not implement dao.CoursesDao (missing method IsUserEnrolledInCourse)) (typecheck)
|
golangci-lint:
api/courses_test.go#L91
cannot use mock (variable of type *mock_dao.MockCoursesDao) as dao.CoursesDao value in return statement: *mock_dao.MockCoursesDao does not implement dao.CoursesDao (missing method IsUserEnrolledInCourse) (typecheck)
|
golangci-lint:
api/courses_test.go#L177
cannot use mock (variable of type *mock_dao.MockCoursesDao) as dao.CoursesDao value in return statement: *mock_dao.MockCoursesDao does not implement dao.CoursesDao (missing method IsUserEnrolledInCourse) (typecheck)
|
golangci-lint:
api/courses_test.go#L196
cannot use mock (variable of type *mock_dao.MockCoursesDao) as dao.CoursesDao value in return statement: *mock_dao.MockCoursesDao does not implement dao.CoursesDao (missing method IsUserEnrolledInCourse) (typecheck)
|
golangci-lint:
api/courses_test.go#L215
cannot use mock (variable of type *mock_dao.MockCoursesDao) as dao.CoursesDao value in return statement: *mock_dao.MockCoursesDao does not implement dao.CoursesDao (missing method IsUserEnrolledInCourse) (typecheck)
|
golangci-lint:
api/courses_test.go#L237
cannot use mock (variable of type *mock_dao.MockCoursesDao) as dao.CoursesDao value in return statement: *mock_dao.MockCoursesDao does not implement dao.CoursesDao (missing method IsUserEnrolledInCourse) (typecheck)
|
golangci-lint:
api/courses_test.go#L281
cannot use mock (variable of type *mock_dao.MockCoursesDao) as dao.CoursesDao value in return statement: *mock_dao.MockCoursesDao does not implement dao.CoursesDao (missing method IsUserEnrolledInCourse) (typecheck)
|
golangci-lint:
api/courses_test.go#L302
cannot use mock (variable of type *mock_dao.MockCoursesDao) as dao.CoursesDao value in return statement: *mock_dao.MockCoursesDao does not implement dao.CoursesDao (missing method IsUserEnrolledInCourse) (typecheck)
|
Run actions/setup-go@v4
Restore cache failed: Dependencies file is not found in /home/runner/work/gocast/gocast. Supported file pattern: go.sum
|
Loading