fix: move sql driver import into main.go

This commit is contained in:
Markus Pesch 2020-06-10 21:25:52 +02:00
parent 7e018280fb
commit 0384bbd574
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982
3 changed files with 3 additions and 2 deletions

View File

@ -6,6 +6,9 @@ import (
"git.cryptic.systems/volker.raschek/flucky/cli"
"github.com/Masterminds/semver"
_ "github.com/lib/pq"
_ "github.com/mattn/go-sqlite3"
)
var (

View File

@ -8,7 +8,6 @@ import (
"git.cryptic.systems/volker.raschek/flucky/pkg/types"
"git.cryptic.systems/volker.raschek/go-logger"
_ "github.com/lib/pq"
)
// Postgres implementation

View File

@ -7,7 +7,6 @@ import (
"git.cryptic.systems/volker.raschek/flucky/pkg/types"
"git.cryptic.systems/volker.raschek/go-logger"
_ "github.com/mattn/go-sqlite3"
)
// SQLite implementation