aboutsummaryrefslogtreecommitdiff
path: root/dbstore
diff options
context:
space:
mode:
Diffstat (limited to 'dbstore')
-rw-r--r--dbstore/cpesearchtype.go6
-rw-r--r--dbstore/cpesearchtype_string.go2
-rw-r--r--dbstore/cpesearchtype_test.go6
3 files changed, 7 insertions, 7 deletions
diff --git a/dbstore/cpesearchtype.go b/dbstore/cpesearchtype.go
index 45865dc..7178561 100644
--- a/dbstore/cpesearchtype.go
+++ b/dbstore/cpesearchtype.go
@@ -7,7 +7,7 @@ package dbstore
type CpeSearchType byte
const (
- CpeSearchAll CpeSearchType = iota //cpe-search-all
- CpeSearchTitle // cpe-search-title
- CpeSearchRef // cpe-search-ref
+ CpeSearchAll CpeSearchType = iota // cpe/search-all
+ CpeSearchTitle // cpe/search-title
+ CpeSearchRef // cpe/search-ref
)
diff --git a/dbstore/cpesearchtype_string.go b/dbstore/cpesearchtype_string.go
index 1d4826e..b825fc8 100644
--- a/dbstore/cpesearchtype_string.go
+++ b/dbstore/cpesearchtype_string.go
@@ -13,7 +13,7 @@ func _() {
_ = x[CpeSearchRef-2]
}
-const _CpeSearchType_name = "cpe-search-allcpe-search-titlecpe-search-ref"
+const _CpeSearchType_name = "cpe/search-allcpe/search-titlecpe/search-ref"
var _CpeSearchType_index = [...]uint8{0, 14, 30, 44}
diff --git a/dbstore/cpesearchtype_test.go b/dbstore/cpesearchtype_test.go
index 1421d3c..255b311 100644
--- a/dbstore/cpesearchtype_test.go
+++ b/dbstore/cpesearchtype_test.go
@@ -7,9 +7,9 @@ func TestCpeSearchTypeString(t *testing.T) {
val CpeSearchType
exp string
} {
- { CpeSearchAll, "cpe-search-all" },
- { CpeSearchTitle, "cpe-search-title" },
- { CpeSearchRef, "cpe-search-ref" },
+ { CpeSearchAll, "cpe/search-all" },
+ { CpeSearchTitle, "cpe/search-title" },
+ { CpeSearchRef, "cpe/search-ref" },
{ CpeSearchType(255), "CpeSearchType(255)" },
}