aboutsummaryrefslogtreecommitdiff
path: root/internal/cvss/v3metrickey_string.go
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2022-01-31 14:00:11 -0500
committerPaul Duncan <pabs@pablotron.org>2022-01-31 14:00:11 -0500
commite5ec1e716de43cf36bf99677b10ac0d50ca789b2 (patch)
tree8bcd7a4ce675c5c6cb9238d944c69317c50e79de /internal/cvss/v3metrickey_string.go
parent02469f18e832eb0a641cc1a5095726b66f56a479 (diff)
downloadcvez-e5ec1e716de43cf36bf99677b10ac0d50ca789b2.tar.bz2
cvez-e5ec1e716de43cf36bf99677b10ac0d50ca789b2.zip
internal/cvss: regen strings
Diffstat (limited to 'internal/cvss/v3metrickey_string.go')
-rw-r--r--internal/cvss/v3metrickey_string.go58
1 files changed, 29 insertions, 29 deletions
diff --git a/internal/cvss/v3metrickey_string.go b/internal/cvss/v3metrickey_string.go
index 9459daa..ff9b74f 100644
--- a/internal/cvss/v3metrickey_string.go
+++ b/internal/cvss/v3metrickey_string.go
@@ -1,4 +1,4 @@
-// Code generated by "stringer -linecomment -type=V3MetricKey"; DO NOT EDIT.
+// Code generated by "stringer -linecomment -type=v3MetricKey"; DO NOT EDIT.
package cvss
@@ -8,37 +8,37 @@ 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[V3AttackVector-0]
- _ = x[V3AttackComplexity-1]
- _ = x[V3PrivilegesRequired-2]
- _ = x[V3UserInteraction-3]
- _ = x[V3Scope-4]
- _ = x[V3Confidentiality-5]
- _ = x[V3Integrity-6]
- _ = x[V3Availability-7]
- _ = x[V3ExploitCodeMaturity-8]
- _ = x[V3RemediationLevel-9]
- _ = x[V3ReportConfidence-10]
- _ = x[V3ConfidentialityRequirement-11]
- _ = x[V3IntegrityRequirement-12]
- _ = x[V3AvailabilityRequirement-13]
- _ = x[V3ModifiedAttackVector-14]
- _ = x[V3ModifiedAttackComplexity-15]
- _ = x[V3ModifiedPrivilegesRequired-16]
- _ = x[V3ModifiedUserInteraction-17]
- _ = x[V3ModifiedScope-18]
- _ = x[V3ModifiedConfidentiality-19]
- _ = x[V3ModifiedIntegrity-20]
- _ = x[V3ModifiedAvailability-21]
+ _ = x[v3AttackVector-0]
+ _ = x[v3AttackComplexity-1]
+ _ = x[v3PrivilegesRequired-2]
+ _ = x[v3UserInteraction-3]
+ _ = x[v3Scope-4]
+ _ = x[v3Confidentiality-5]
+ _ = x[v3Integrity-6]
+ _ = x[v3Availability-7]
+ _ = x[v3ExploitCodeMaturity-8]
+ _ = x[v3RemediationLevel-9]
+ _ = x[v3ReportConfidence-10]
+ _ = x[v3ConfidentialityRequirement-11]
+ _ = x[v3IntegrityRequirement-12]
+ _ = x[v3AvailabilityRequirement-13]
+ _ = x[v3ModifiedAttackVector-14]
+ _ = x[v3ModifiedAttackComplexity-15]
+ _ = x[v3ModifiedPrivilegesRequired-16]
+ _ = x[v3ModifiedUserInteraction-17]
+ _ = x[v3ModifiedScope-18]
+ _ = x[v3ModifiedConfidentiality-19]
+ _ = x[v3ModifiedIntegrity-20]
+ _ = x[v3ModifiedAvailability-21]
}
-const _V3MetricKey_name = "AVACPRUISCIAERLRCCRIRARMAVMACMPRMUIMSMCMIMA"
+const _v3MetricKey_name = "AVACPRUISCIAERLRCCRIRARMAVMACMPRMUIMSMCMIMA"
-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}
-func (i V3MetricKey) String() string {
- if i >= V3MetricKey(len(_V3MetricKey_index)-1) {
- return "V3MetricKey(" + strconv.FormatInt(int64(i), 10) + ")"
+func (i v3MetricKey) String() string {
+ if i >= v3MetricKey(len(_v3MetricKey_index)-1) {
+ return "v3MetricKey(" + strconv.FormatInt(int64(i), 10) + ")"
}
- return _V3MetricKey_name[_V3MetricKey_index[i]:_V3MetricKey_index[i+1]]
+ return _v3MetricKey_name[_v3MetricKey_index[i]:_v3MetricKey_index[i+1]]
}