Fixed typo: HasPrefox -> HasPrefix

This is breaking travis ci tests.
This commit is contained in:
Cameron Little 2015-03-05 09:30:00 -08:00
parent 519a1d07c4
commit 6223c9833f
1 changed files with 1 additions and 1 deletions

View File

@ -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] dsn = dsn[:pos]
} }
} }