From 2a29b254b40bad71fc00a312280c3373b1bb733b Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Mon, 31 Jan 2022 14:06:19 -0500 Subject: internal/cvss: move category and version to separate files --- internal/cvss/v3metrickey_string.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'internal/cvss/v3metrickey_string.go') diff --git a/internal/cvss/v3metrickey_string.go b/internal/cvss/v3metrickey_string.go index ff9b74f..e30c9cc 100644 --- a/internal/cvss/v3metrickey_string.go +++ b/internal/cvss/v3metrickey_string.go @@ -30,11 +30,12 @@ func _() { _ = x[v3ModifiedConfidentiality-19] _ = x[v3ModifiedIntegrity-20] _ = x[v3ModifiedAvailability-21] + _ = x[v3InvalidMetricKey-22] } -const _v3MetricKey_name = "AVACPRUISCIAERLRCCRIRARMAVMACMPRMUIMSMCMIMA" +const _v3MetricKey_name = "AVACPRUISCIAERLRCCRIRARMAVMACMPRMUIMSMCMIMAinvalid" -var _v3MetricKey_index = [...]uint8{0, 2, 4, 6, 8, 9, 10, 11, 12, 13, 15, 17, 19, 21, 23, 26, 29, 32, 35, 37, 39, 41, 43} +var _v3MetricKey_index = [...]uint8{0, 2, 4, 6, 8, 9, 10, 11, 12, 13, 15, 17, 19, 21, 23, 26, 29, 32, 35, 37, 39, 41, 43, 50} func (i v3MetricKey) String() string { if i >= v3MetricKey(len(_v3MetricKey_index)-1) { -- cgit v1.2.3