aboutsummaryrefslogtreecommitdiff
path: root/internal/cvss/v2metrickey_string.go
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2022-01-31 14:09:06 -0500
committerPaul Duncan <pabs@pablotron.org>2022-01-31 14:09:06 -0500
commit70889646400b871027970e1381ffc96e7f356af8 (patch)
tree459fa60d2b4cf6f442a6e1a3bc19108f53b48d06 /internal/cvss/v2metrickey_string.go
parent2a29b254b40bad71fc00a312280c3373b1bb733b (diff)
downloadcvez-70889646400b871027970e1381ffc96e7f356af8.tar.bz2
cvez-70889646400b871027970e1381ffc96e7f356af8.zip
internal/cvss: s/MetricKey/Key/g
Diffstat (limited to 'internal/cvss/v2metrickey_string.go')
-rw-r--r--internal/cvss/v2metrickey_string.go37
1 files changed, 0 insertions, 37 deletions
diff --git a/internal/cvss/v2metrickey_string.go b/internal/cvss/v2metrickey_string.go
deleted file mode 100644
index 5017567..0000000
--- a/internal/cvss/v2metrickey_string.go
+++ /dev/null
@@ -1,37 +0,0 @@
-// Code generated by "stringer -linecomment -type=v2MetricKey"; DO NOT EDIT.
-
-package cvss
-
-import "strconv"
-
-func _() {
- // An "invalid array index" compiler error signifies that the constant values have changed.
- // Re-run the stringer command to generate them again.
- var x [1]struct{}
- _ = x[v2AccessVector-0]
- _ = x[v2AccessComplexity-1]
- _ = x[v2Authentication-2]
- _ = x[v2ConfidentialityImpact-3]
- _ = x[v2IntegrityImpact-4]
- _ = x[v2AvailabilityImpact-5]
- _ = x[v2Exploitability-6]
- _ = x[v2RemediationLevel-7]
- _ = x[v2ReportConfidence-8]
- _ = x[v2CollateralDamagePotential-9]
- _ = x[v2TargetDistribution-10]
- _ = x[v2ConfidentialityRequirement-11]
- _ = x[v2IntegrityRequirement-12]
- _ = x[v2AvailabilityRequirement-13]
- _ = x[v2InvalidMetricKey-14]
-}
-
-const _v2MetricKey_name = "AVACAuCIAERLRCCDPTDCRIRARinvalid"
-
-var _v2MetricKey_index = [...]uint8{0, 2, 4, 6, 7, 8, 9, 10, 12, 14, 17, 19, 21, 23, 25, 32}
-
-func (i v2MetricKey) String() string {
- if i >= v2MetricKey(len(_v2MetricKey_index)-1) {
- return "v2MetricKey(" + strconv.FormatInt(int64(i), 10) + ")"
- }
- return _v2MetricKey_name[_v2MetricKey_index[i]:_v2MetricKey_index[i+1]]
-}