diff options
| author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2016-12-15 11:41:22 +0900 |
|---|---|---|
| committer | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2016-12-15 11:42:36 +0900 |
| commit | 5b064f2d0538e40c32e865849394c653f3ec41d5 (patch) | |
| tree | 6531387faed8a73161bf1c2dfbe20474600dc1c9 | |
| parent | fix named args (diff) | |
| download | golite-5b064f2d0538e40c32e865849394c653f3ec41d5.tar.gz golite-5b064f2d0538e40c32e865849394c653f3ec41d5.tar.xz | |
fix #362
| -rw-r--r-- | sqlite3_go18.go | 4 |
1 files 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) } |
