mirror of
https://github.com/minio/minio.git
synced 2025-11-06 20:33:07 -05:00
vet: Fix all the go vet complaints (#4029)
``` go tool vet -atomic -bool -copylocks -nilfunc \ -printf -shadow -rangeloops -unreachable \ -unsafeptr -unusedresult cmd/ ```
This commit is contained in:
4
Makefile
4
Makefile
@@ -79,8 +79,8 @@ verifiers: vet fmt lint cyclo spelling
|
||||
|
||||
vet:
|
||||
@echo -n "Running $@: "
|
||||
@go vet github.com/minio/minio/cmd/...
|
||||
@go vet github.com/minio/minio/pkg/...
|
||||
@go tool vet -atomic -bool -copylocks -nilfunc -printf -shadow -rangeloops -unreachable -unsafeptr -unusedresult cmd
|
||||
@go tool vet -atomic -bool -copylocks -nilfunc -printf -shadow -rangeloops -unreachable -unsafeptr -unusedresult pkg
|
||||
@echo "Done."
|
||||
|
||||
fmt:
|
||||
|
||||
Reference in New Issue
Block a user