Do not use require in http handlers (testifylint)
显示
- workhorse/_support/lint_last_known_acceptable_go1.21.txt 77 个添加, 241 个删除workhorse/_support/lint_last_known_acceptable_go1.21.txt
- workhorse/_support/lint_last_known_acceptable_go1.22.txt 77 个添加, 241 个删除workhorse/_support/lint_last_known_acceptable_go1.22.txt
- workhorse/cmd/gitlab-workhorse/authorization_test.go 7 个添加, 6 个删除workhorse/cmd/gitlab-workhorse/authorization_test.go
- workhorse/cmd/gitlab-workhorse/main_test.go 12 个添加, 11 个删除workhorse/cmd/gitlab-workhorse/main_test.go
- workhorse/cmd/gitlab-workhorse/proxy_test.go 18 个添加, 17 个删除workhorse/cmd/gitlab-workhorse/proxy_test.go
- workhorse/cmd/gitlab-workhorse/sendfile_test.go 3 个添加, 2 个删除workhorse/cmd/gitlab-workhorse/sendfile_test.go
- workhorse/cmd/gitlab-workhorse/upload_test.go 26 个添加, 25 个删除workhorse/cmd/gitlab-workhorse/upload_test.go
- workhorse/internal/api/api_test.go 3 个添加, 2 个删除workhorse/internal/api/api_test.go
- workhorse/internal/artifacts/entry_test.go 2 个添加, 1 个删除workhorse/internal/artifacts/entry_test.go
- workhorse/internal/dependencyproxy/dependencyproxy_test.go 7 个添加, 6 个删除workhorse/internal/dependencyproxy/dependencyproxy_test.go
- workhorse/internal/senddata/contentprocessor/contentprocessor_test.go 7 个添加, 6 个删除...ternal/senddata/contentprocessor/contentprocessor_test.go
- workhorse/internal/sendurl/sendurl_test.go 14 个添加, 13 个删除workhorse/internal/sendurl/sendurl_test.go
- workhorse/internal/staticpages/error_pages_test.go 7 个添加, 6 个删除workhorse/internal/staticpages/error_pages_test.go
- workhorse/internal/upload/artifacts_store_test.go 7 个添加, 6 个删除workhorse/internal/upload/artifacts_store_test.go
- workhorse/internal/upload/artifacts_upload_test.go 17 个添加, 16 个删除workhorse/internal/upload/artifacts_upload_test.go
- workhorse/internal/upload/body_uploader_test.go 24 个添加, 23 个删除workhorse/internal/upload/body_uploader_test.go
- workhorse/internal/upload/destination/objectstore/multipart_test.go 2 个添加, 1 个删除...internal/upload/destination/objectstore/multipart_test.go
- workhorse/internal/upload/destination/objectstore/object_test.go 2 个添加, 1 个删除...se/internal/upload/destination/objectstore/object_test.go
- workhorse/internal/upload/uploads_test.go 29 个添加, 28 个删除workhorse/internal/upload/uploads_test.go
- workhorse/internal/upstream/handlers_test.go 5 个添加, 4 个删除workhorse/internal/upstream/handlers_test.go
加载中
想要评论请 注册 或 登录