From 53cff3fcebd1e177d04129dc131523635bc45d3d Mon Sep 17 00:00:00 2001 From: rittneje Date: Tue, 17 Dec 2019 02:07:49 -0500 Subject: [PATCH] fix typo in doc comment (#770) --- sqlite3.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sqlite3.go b/sqlite3.go index 61eeff71..59e3670b 100644 --- a/sqlite3.go +++ b/sqlite3.go @@ -913,7 +913,7 @@ func (c *SQLiteConn) begin(ctx context.Context) (driver.Tx, error) { // - rwc // - memory // -// shared +// cache // SQLite Shared-Cache Mode // https://www.sqlite.org/sharedcache.html // Values: @@ -1910,7 +1910,7 @@ func (s *SQLiteStmt) exec(ctx context.Context, args []namedValue) (driver.Result resultCh <- result{r, err} }() select { - case rv := <- resultCh: + case rv := <-resultCh: return rv.r, rv.err case <-ctx.Done(): select { @@ -2011,7 +2011,7 @@ func (rc *SQLiteRows) Next(dest []driver.Value) error { resultCh <- rc.nextSyncLocked(dest) }() select { - case err := <- resultCh: + case err := <-resultCh: return err case <-rc.ctx.Done(): select {