Update CircleCI to support MySQL
This commit is contained in:
parent
f9b900b303
commit
0ab25e4464
28 changed files with 198 additions and 240 deletions
|
|
@ -5,6 +5,7 @@ import (
|
|||
"fmt"
|
||||
"github.com/go-jet/jet/generator/internal/metadata"
|
||||
"github.com/go-jet/jet/generator/internal/template"
|
||||
"github.com/go-jet/jet/internal/utils"
|
||||
"github.com/go-jet/jet/mysql"
|
||||
"path"
|
||||
)
|
||||
|
|
@ -26,7 +27,7 @@ func Generate(destDir string, dbConn DBConnection) error {
|
|||
if err != nil {
|
||||
return err
|
||||
}
|
||||
defer db.Close()
|
||||
defer utils.DBClose(db)
|
||||
|
||||
fmt.Println("Retrieving database information...")
|
||||
// No schemas in MySQL
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue