Replace megacheck with staticcheck
Includes some fixes on some files based on suggestion of `staticcheck`. Bumps the default go image to 1.11 from 1.10. Still run 1.10 on `test using go 1.10` job.
显示
- .gitlab-ci.yml 2 个添加, 2 个删除.gitlab-ci.yml
- Makefile 5 个添加, 5 个删除Makefile
- authorization_test.go 1 个添加, 1 个删除authorization_test.go
- internal/api/terminal_settings.go 4 个添加, 4 个删除internal/api/terminal_settings.go
- internal/artifacts/artifacts_upload.go 2 个添加, 2 个删除internal/artifacts/artifacts_upload.go
- internal/filestore/body_uploader_test.go 1 个添加, 1 个删除internal/filestore/body_uploader_test.go
- internal/filestore/file_handler.go 3 个添加, 3 个删除internal/filestore/file_handler.go
- internal/objectstore/multipart.go 11 个添加, 11 个删除internal/objectstore/multipart.go
- internal/redis/redis.go 1 个添加, 1 个删除internal/redis/redis.go
- internal/sendfile/sendfile.go 1 个添加, 1 个删除internal/sendfile/sendfile.go
- internal/terminal/wrappers_test.go 9 个添加, 9 个删除internal/terminal/wrappers_test.go
- internal/upload/rewrite.go 1 个添加, 1 个删除internal/upload/rewrite.go
- internal/zipartifacts/open_archive.go 1 个添加, 1 个删除internal/zipartifacts/open_archive.go
加载中
想要评论请 注册 或 登录