Types rename.
This commit is contained in:
parent
db43f471ec
commit
18bbf1b5fb
32 changed files with 98 additions and 97 deletions
|
|
@ -3,7 +3,7 @@ package main
|
|||
import (
|
||||
"database/sql"
|
||||
"fmt"
|
||||
"github.com/go-jet/jet/generator/postgresgen"
|
||||
"github.com/go-jet/jet/generator/postgres"
|
||||
"github.com/go-jet/jet/tests/dbconfig"
|
||||
"io/ioutil"
|
||||
)
|
||||
|
|
@ -33,7 +33,7 @@ func main() {
|
|||
|
||||
_, err = db.Exec(string(testSampleSql))
|
||||
|
||||
err = postgresgen.Generate("./.gentestdata", postgresgen.DBConnection{
|
||||
err = postgres.Generate("./.gentestdata", postgres.DBConnection{
|
||||
Host: dbconfig.Host,
|
||||
Port: "5432",
|
||||
User: dbconfig.User,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue