Merge pull request #178 from antoni/master

Correct HasPrefix method name
This commit is contained in:
mattn 2015-03-06 06:50:15 +09:00
commit aa317ad229
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]
}
}