From 6223c9833f4bf2e552dd89a4f43e50645f5aa5b1 Mon Sep 17 00:00:00 2001 From: Cameron Little Date: Thu, 5 Mar 2015 09:30:00 -0800 Subject: [PATCH] Fixed typo: HasPrefox -> HasPrefix This is breaking travis ci tests. --- sqlite3.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sqlite3.go b/sqlite3.go index b7b7f81..5f94a96 100644 --- a/sqlite3.go +++ b/sqlite3.go @@ -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] } }