go: add a TODO [skip ci]

This commit is contained in:
leo 2023-05-03 02:38:35 +02:00
parent d83a4bbc4c
commit d5ed25f1f1
Signed by: wanderer
SSH Key Fingerprint: SHA256:Dp8+iwKHSlrMEHzE3bJnPng70I7LEsa3IJXRH/U+idQ

1
run.go
View File

@ -92,6 +92,7 @@ func run() error {
log.Infof("connecting to db at '%s'", connstr)
// TODO: conditionally set db type.
db, err := ent.Open("sqlite3", connstr)
if err != nil {
return fmt.Errorf("failed to open a connection to sqlite: %v", err)