Merge pull request #184 from yngfoxx/patch-1

Potential security flaw
This commit is contained in:
go-jet 2022-10-25 12:03:09 +02:00 committed by GitHub
commit c9e627d333
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -68,7 +68,7 @@ func GenerateDSN(dsn, destDir string, templates ...template.Template) (err error
}
func openConnection(connectionString string) *sql.DB {
fmt.Println("Connecting to MySQL database: " + connectionString)
fmt.Println("Connecting to MySQL database")
db, err := sql.Open("mysql", connectionString)
throw.OnError(err)

View file

@ -69,7 +69,7 @@ func GenerateDSN(dsn, schema, destDir string, templates ...template.Template) (e
}
func openConnection(dsn string) *sql.DB {
fmt.Println("Connecting to postgres database: " + dsn)
fmt.Printf("Connecting to postgres database")
db, err := sql.Open("postgres", dsn)
throw.OnError(err)