From 77eae5a3a4e47225beb0ebb2f123a7d002debc38 Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Thu, 15 Dec 2016 11:41:22 +0900 Subject: [PATCH] fix #27 --- 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) }