Merge pull request #178 from antoni/master
Correct HasPrefix method name
This commit is contained in:
commit
aa317ad229
|
@ -286,7 +286,7 @@ func (d *SQLiteDriver) Open(dsn string) (driver.Conn, error) {
|
|||
}
|
||||
}
|
||||
|
||||
if !strings.HasPrefox(dsn, "file:") {
|
||||
if !strings.HasPrefix(dsn, "file:") {
|
||||
dsn = dsn[:pos]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue