diff options
Diffstat (limited to 'cvss/category.go')
-rw-r--r-- | cvss/category.go | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/cvss/category.go b/cvss/category.go new file mode 100644 index 0000000..54781dc --- /dev/null +++ b/cvss/category.go @@ -0,0 +1,13 @@ +package cvss + +//go:generate stringer -linecomment -type=Category + +// CVSS metric category. +type Category byte + +const ( + Base Category = iota // Base + Temporal // Temporal + Environmental // Environmental + InvalidCategory // invalid +) |