From 5b064f2d0538e40c32e865849394c653f3ec41d5 Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Thu, 15 Dec 2016 11:41:22 +0900 Subject: [PATCH] fix #362 --- sqlite3_go18.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sqlite3_go18.go b/sqlite3_go18.go index ec2c3a8..6bb2ead 100644 --- a/sqlite3_go18.go +++ b/sqlite3_go18.go @@ -45,8 +45,8 @@ func (c *SQLiteConn) PrepareContext(ctx context.Context, query string) (driver.S return c.prepare(ctx, query) } -// BeginContext implement ConnBeginContext. -func (c *SQLiteConn) BeginContext(ctx context.Context) (driver.Tx, error) { +// BeginTx implement ConnBeginTx. +func (c *SQLiteConn) BeginTx(ctx context.Context) (driver.Tx, error) { return c.begin(ctx) }