diff options
author | mattn <mattn.jp@gmail.com> | 2018-08-24 23:21:20 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-24 23:21:20 +0900 |
commit | 3198c7714d5f8be941dd06c30208e623aa5abf90 (patch) | |
tree | 56ad3fbab3e3636a074a0299382b7c03cced94ff /sqlite3.go | |
parent | Ensure that SqliteStmt.closed property is guarded. (diff) | |
parent | Update go doc comments to refer to correct interfaces. (diff) | |
download | golite-3198c7714d5f8be941dd06c30208e623aa5abf90.tar.gz golite-3198c7714d5f8be941dd06c30208e623aa5abf90.tar.xz |
Merge pull request #621 from AndrewMurrell/master
Update go doc comments to refer to correct interfaces.
Diffstat (limited to 'sqlite3.go')
-rw-r--r-- | sqlite3.go | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -205,13 +205,13 @@ const ( SQLITE_UPDATE = C.SQLITE_UPDATE ) -// SQLiteDriver implement sql.Driver. +// SQLiteDriver implements driver.Driver. type SQLiteDriver struct { Extensions []string ConnectHook func(*SQLiteConn) error } -// SQLiteConn implement sql.Conn. +// SQLiteConn implements driver.Conn. type SQLiteConn struct { mu sync.Mutex db *C.sqlite3 @@ -221,12 +221,12 @@ type SQLiteConn struct { aggregators []*aggInfo } -// SQLiteTx implemen sql.Tx. +// SQLiteTx implements driver.Tx. type SQLiteTx struct { c *SQLiteConn } -// SQLiteStmt implement sql.Stmt. +// SQLiteStmt implements driver.Stmt. type SQLiteStmt struct { mu sync.Mutex c *SQLiteConn @@ -236,13 +236,13 @@ type SQLiteStmt struct { cls bool } -// SQLiteResult implement sql.Result. +// SQLiteResult implements sql.Result. type SQLiteResult struct { id int64 changes int64 } -// SQLiteRows implement sql.Rows. +// SQLiteRows implements driver.Rows. type SQLiteRows struct { s *SQLiteStmt nc int |