diff --git a/tools/certs/run.go b/tools/certs/run.go index 3ba2a4e..597e7d5 100644 --- a/tools/certs/run.go +++ b/tools/certs/run.go @@ -8,7 +8,7 @@ import ( "time" ) -func main() { +func run() { ctx := context.Background() // Choose DB implementation here (Mongo or SQLite) db, err := setupMongoCertDb() diff --git a/tools/tpps/run.go b/tools/tpps/run.go index 803f3be..ccdfe7f 100644 --- a/tools/tpps/run.go +++ b/tools/tpps/run.go @@ -12,7 +12,7 @@ type Db interface { Disconnect(ctx context.Context) error } -func main() { +func run() { // Download and parse the registry // populate DB // 1. Download metadata at https://euclid.eba.europa.eu/register/api/filemetadata?t=1737374419184