Skip to content

Commit 1f1cc7a

Browse files
julieqiugopherbot
authored andcommitted
cmd,internal/govulncheck: change protocol version to v1.0.0
Change-Id: Icf3e700e5feb54085918cf72b48b9ba4faff3497 Reviewed-on: https://go-review.googlesource.com/c/vuln/+/508919 Run-TryBot: Julie Qiu <julieqiu@google.com> Auto-Submit: Julie Qiu <julieqiu@google.com> Reviewed-by: Ian Cottrell <iancottrell@google.com> Reviewed-by: Julie Qiu <julieqiu@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
1 parent 75e4830 commit 1f1cc7a

File tree

10 files changed

+10
-10
lines changed

10 files changed

+10
-10
lines changed

cmd/govulncheck/testdata/binary_json.ct

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
$ govulncheck -json -mode=binary ${vuln_binary}
44
{
55
"config": {
6-
"protocol_version": "v0.1.0",
6+
"protocol_version": "v1.0.0",
77
"scanner_name": "govulncheck",
88
"scanner_version": "v0.0.0-00000000000-20000101010101",
99
"db": "testdata/vulndb-v1",

cmd/govulncheck/testdata/binary_vendored_json.ct

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
$ govulncheck -json -mode=binary ${vendored_binary}
44
{
55
"config": {
6-
"protocol_version": "v0.1.0",
6+
"protocol_version": "v1.0.0",
77
"scanner_name": "govulncheck",
88
"scanner_version": "v0.0.0-00000000000-20000101010101",
99
"db": "testdata/vulndb-v1",

cmd/govulncheck/testdata/query_json.ct

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
$ govulncheck -mode=query -json github.com/tidwall/gjson@v1.6.5
44
{
55
"config": {
6-
"protocol_version": "v0.1.0",
6+
"protocol_version": "v1.0.0",
77
"scanner_name": "govulncheck",
88
"scanner_version": "v0.0.0-00000000000-20000101010101",
99
"db": "testdata/vulndb-v1",

cmd/govulncheck/testdata/query_multi_json.ct

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
$ govulncheck -mode=query -json stdlib@go1.17 github.com/tidwall/gjson@v1.6.5
44
{
55
"config": {
6-
"protocol_version": "v0.1.0",
6+
"protocol_version": "v1.0.0",
77
"scanner_name": "govulncheck",
88
"scanner_version": "v0.0.0-00000000000-20000101010101",
99
"db": "testdata/vulndb-v1",

cmd/govulncheck/testdata/query_stdlib_json.ct

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
$ govulncheck -mode=query -json stdlib@go1.17
44
{
55
"config": {
6-
"protocol_version": "v0.1.0",
6+
"protocol_version": "v1.0.0",
77
"scanner_name": "govulncheck",
88
"scanner_version": "v0.0.0-00000000000-20000101010101",
99
"db": "testdata/vulndb-v1",

cmd/govulncheck/testdata/query_vstdlib_json.ct

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
$ govulncheck -mode=query -json stdlib@v1.17.0
44
{
55
"config": {
6-
"protocol_version": "v0.1.0",
6+
"protocol_version": "v1.0.0",
77
"scanner_name": "govulncheck",
88
"scanner_version": "v0.0.0-00000000000-20000101010101",
99
"db": "testdata/vulndb-v1",

cmd/govulncheck/testdata/source_multientry_json.ct

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
$ govulncheck -json -C ${moddir}/multientry .
44
{
55
"config": {
6-
"protocol_version": "v0.1.0",
6+
"protocol_version": "v1.0.0",
77
"scanner_name": "govulncheck",
88
"scanner_version": "v0.0.0-00000000000-20000101010101",
99
"db": "testdata/vulndb-v1",

cmd/govulncheck/testdata/source_vendored_json.ct

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
$ govulncheck -C ${moddir}/vendored -json ./...
44
{
55
"config": {
6-
"protocol_version": "v0.1.0",
6+
"protocol_version": "v1.0.0",
77
"scanner_name": "govulncheck",
88
"scanner_version": "v0.0.0-00000000000-20000101010101",
99
"db": "testdata/vulndb-v1",

cmd/govulncheck/testdata/source_vuln_json.ct

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
$ govulncheck -C ${moddir}/vuln -json ./...
44
{
55
"config": {
6-
"protocol_version": "v0.1.0",
6+
"protocol_version": "v1.0.0",
77
"scanner_name": "govulncheck",
88
"scanner_version": "v0.0.0-00000000000-20000101010101",
99
"db": "testdata/vulndb-v1",

internal/govulncheck/govulncheck.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313

1414
const (
1515
// ProtocolVersion is the current protocol version this file implements
16-
ProtocolVersion = "v0.1.0"
16+
ProtocolVersion = "v1.0.0"
1717
)
1818

1919
// Message is an entry in the output stream. It will always have exactly one

0 commit comments

Comments
 (0)