n3dr
n3dr copied to clipboard
goconst
What happened:
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:
- nexus version:
- n3dr version (use
n3dr -v): - OS (e.g:
cat /etc/os-release): - Kernel (e.g.
uname -a): - Others:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Error: internal/app/n3dr/artifactsv2/upload/upload.go:411:20: string `empty` has 14 occurrences, make it a constant (goconst)
maven2Asset1 := "empty"
^
Error: cmd/n3dr/configRepository.go:51:7: string `proxy` has 5 occurrences, make it a constant (goconst)
case "proxy":
^
Error: cmd/n3dr/configRepository.go:60:7: string `hosted` has 6 occurrences, make it a constant (goconst)
case "hosted":