Skip to content

feat:新增基于Minio的文件上传与删除功能 #48

feat:新增基于Minio的文件上传与删除功能

feat:新增基于Minio的文件上传与删除功能 #48

Triggered via pull request November 20, 2024 13:44
Status Failure
Total duration 1m 4s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors
lint: app/controllers/objectController/upload.go#L13
exported: exported type UploadFileData should have comment or be unexported (revive)
lint: app/services/objectService/minioObjectService.go#L15
flag-parameter: parameter 'persistence' seems to be a control flag, avoid control coupling (revive)
lint: app/services/objectService/objectService.go#L89
string `.jpg` has 3 occurrences, make it a constant (goconst)
lint
issues found