diff options
author | Paul Duncan <pabs@pablotron.org> | 2022-02-04 00:35:31 -0500 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2022-02-04 00:35:31 -0500 |
commit | 9c17b97cd0f83be3fff9fa4e87fd1d29052ea616 (patch) | |
tree | 0d97030a0d0c3ad983be281ce89f80571338887f /internal/cvss/badkey.go | |
parent | 92400d731546557d110c9c3cc3906d700f83dda8 (diff) | |
download | cvez-9c17b97cd0f83be3fff9fa4e87fd1d29052ea616.tar.bz2 cvez-9c17b97cd0f83be3fff9fa4e87fd1d29052ea616.zip |
rename to github.com/pablotron/cvez, remove internal libs
Diffstat (limited to 'internal/cvss/badkey.go')
-rw-r--r-- | internal/cvss/badkey.go | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/internal/cvss/badkey.go b/internal/cvss/badkey.go deleted file mode 100644 index d4bc845..0000000 --- a/internal/cvss/badkey.go +++ /dev/null @@ -1,20 +0,0 @@ -package cvss - -// disabled for now (unused) -// import "fmt" -// -// // Bad metric key error. -// type badKey struct { -// version Version -// key string -// } -// -// // Create new bad key error. -// func newBadKey(version Version, key string) error { -// return &badKey { version, key } -// } -// -// // Return printable error string -// func (e badKey) Error() string { -// return fmt.Sprintf("invalid CVSS %s metric key: %s", e.version, e.key) -// } |