From 202cfc7c5bc8cd6f467f32d47612bf9115556ff0 Mon Sep 17 00:00:00 2001 From: "Bora M. Alper" Date: Thu, 16 Apr 2020 08:59:25 +0300 Subject: [PATCH] fix formatting --- pkg/persistence/sqlite3.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/persistence/sqlite3.go b/pkg/persistence/sqlite3.go index 7f83c0b..74b7267 100644 --- a/pkg/persistence/sqlite3.go +++ b/pkg/persistence/sqlite3.go @@ -35,7 +35,7 @@ func makeSqlite3Database(url_ *url.URL) (Database, error) { // sqlite3 driver, and that escaping is applied to the URL on this side. See issue #240. url_.Scheme = "file" // To ensure that // isn't injected into the URI. The query is still handled. - url_.Opaque=url_.Path + url_.Opaque = url_.Path db.conn, err = sql.Open("sqlite3", url_.String()) if err != nil { return nil, errors.Wrap(err, "sql.Open")