cmd/dbdiff,cmd/gendb: delete

These scripts have been moved to x/vulndb.

For golang/go#50247

Change-Id: I7ce4376cbd5eb5d1c91910dd914e5fbccd09ce57
Reviewed-on: https://go-review.googlesource.com/c/vuln/+/373004
Trust: Julie Qiu <julie@golang.org>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
diff --git a/srv/cmd/dbdiff/main.go b/srv/cmd/dbdiff/main.go
deleted file mode 100644
index 244811d..0000000
--- a/srv/cmd/dbdiff/main.go
+++ /dev/null
@@ -1,25 +0,0 @@
-// Copyright 2021 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// Command dbdiff provides a tool for comparing two different versions of the
-// vulnerability database.
-package main
-
-import (
-	"fmt"
-	"log"
-	"os"
-
-	"golang.org/x/vuln/srv/internal/database"
-)
-
-func main() {
-	if len(os.Args) != 3 {
-		fmt.Fprintln(os.Stderr, "usage: dbdiff db-a db-b")
-		os.Exit(1)
-	}
-	if err := database.Diff(os.Args[1], os.Args[2]); err != nil {
-		log.Fatal(err)
-	}
-}
diff --git a/srv/cmd/gendb/main.go b/srv/cmd/gendb/main.go
deleted file mode 100644
index 136f47d..0000000
--- a/srv/cmd/gendb/main.go
+++ /dev/null
@@ -1,26 +0,0 @@
-// Copyright 2021 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// Command gendb provides a tool for converting YAML reports into JSON
-// database.
-package main
-
-import (
-	"flag"
-	"log"
-
-	"golang.org/x/vuln/srv/internal/database"
-)
-
-var (
-	yamlDir = flag.String("reports", "reports", "Directory containing yaml reports")
-	jsonDir = flag.String("out", "out", "Directory to write JSON database to")
-)
-
-func main() {
-	flag.Parse()
-	if err := database.Generate(*yamlDir, *jsonDir); err != nil {
-		log.Fatal(err)
-	}
-}