Connection via DSN

This commit is contained in:
vetcher 2021-08-30 15:09:09 +03:00 committed by go-jet
parent b0838999d6
commit 5b7c34e333
8 changed files with 220 additions and 54 deletions

View file

@ -4,16 +4,17 @@ import (
"database/sql"
"flag"
"fmt"
"io/ioutil"
"os"
"os/exec"
"strings"
"github.com/go-jet/jet/v2/generator/mysql"
"github.com/go-jet/jet/v2/generator/postgres"
"github.com/go-jet/jet/v2/internal/utils/throw"
"github.com/go-jet/jet/v2/tests/dbconfig"
_ "github.com/go-sql-driver/mysql"
_ "github.com/lib/pq"
"io/ioutil"
"os"
"os/exec"
"strings"
)
var testSuite string