Cybersecurity-Projects/PROJECTS/beginner/simple-vulnerability-scanner/internal/osv
CarterPerez-dev 7d69339413 fix: extract osv package string literals to constants
goconst counts occurrences across the whole package (including test files)
when deciding whether to flag a non-test file — the exclusion only suppresses
reports FROM test files. Add unexported constants for severity levels, CVSS
types, ecosystem, and reference types in client.go, and update client_test.go
to use them so the total raw-string count per literal drops below threshold.
2026-05-08 06:30:08 -04:00
..
client.go fix: extract osv package string literals to constants 2026-05-08 06:30:08 -04:00
client_test.go fix: extract osv package string literals to constants 2026-05-08 06:30:08 -04:00