mirror of https://github.com/pressly/goose.git
fixed a typo in the OpenDBWithDriver() description. (#253)
Co-authored-by: Michael Gunkoff <m.onishenko@qvant.ru>pull/274/head
parent
e976a731b4
commit
872d9e9515
2
db.go
2
db.go
|
@ -5,7 +5,7 @@ import (
|
|||
"fmt"
|
||||
)
|
||||
|
||||
// OpenDBWithDriver creates a connection a database, and modifies goose
|
||||
// OpenDBWithDriver creates a connection to a database, and modifies goose
|
||||
// internals to be compatible with the supplied driver by calling SetDialect.
|
||||
func OpenDBWithDriver(driver string, dbstring string) (*sql.DB, error) {
|
||||
if err := SetDialect(driver); err != nil {
|
||||
|
|
Loading…
Reference in New Issue