// CVSS vector parser. package cvss // Metric key. type Key interface { // Get full name. Name() string // Get category. Category() Category // Return string representation. String() string } // CVSS metric. type Metric interface { // Get metric key. Key() Key // Return string representation of metric. String() string }