aboutsummaryrefslogtreecommitdiff
path: root/internal/cvss/version.go
blob: ab9d61f16f83fd528d188799e054bf28ffc3a03d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// CVSS vector string parser.
package cvss

//go:generate stringer -linecomment -type=Version

// CVSS version
type Version byte

const (
  V20 Version = iota // 2.0
  V30 // 3.0
  V31 // 3.1
)