fixed a typo in the OpenDBWithDriver() description. (#253)

Co-authored-by: Michael Gunkoff <m.onishenko@qvant.ru>
pull/274/head
Michael Gunkoff 2021-08-21 05:55:59 +03:00 committed by GitHub
parent e976a731b4
commit 872d9e9515
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

2
db.go
View File

@ -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 {