Merge pull request #50 from go-park-mail-ru/dev #272
Annotations
10 errors and 2 warnings
linters:
internal/pkg/trips/delivery/http/handler_test.go#L486
Error return value of `(*encoding/json.Decoder).Decode` is not checked (errcheck)
|
linters:
internal/pkg/trips/repo/trips_repository_test.go#L436
string `photo1.jpg` has 5 occurrences, make it a constant (goconst)
|
linters:
internal/pkg/trips/repo/trips_repository_test.go#L495
string `DELETE FROM trip_photo WHERE trip_id = \$1 AND photo_path = \$2` has 3 occurrences, make it a constant (goconst)
|
linters:
internal/pkg/reviews/repo/reviews_repository.go#L35
G115: integer overflow conversion int -> uint (gosec)
|
linters:
internal/pkg/middleware/middleware.go#L51
G115: integer overflow conversion uint -> int (gosec)
|
linters:
internal/pkg/search/delivery/grpc/grpc.go#L30
G115: integer overflow conversion uint -> uint32 (gosec)
|
linters:
internal/pkg/user/delivery/grpc/grpc_server.go#L34
G115: integer overflow conversion uint -> uint32 (gosec)
|
linters:
internal/pkg/user/delivery/grpc/grpc_server.go#L46
G115: integer overflow conversion uint -> uint32 (gosec)
|
linters:
internal/pkg/reviews/delivery/grpc/grpc_server.go#L38
G115: integer overflow conversion int -> int32 (gosec)
|
linters:
internal/pkg/reviews/delivery/grpc/grpc_server.go#L80
G115: integer overflow conversion int -> int32 (gosec)
|
linters
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
linters
Restore cache failed: Dependencies file is not found in /home/runner/work/2024_2_ThereWillBeName/2024_2_ThereWillBeName. Supported file pattern: go.sum
|