Skip to content

Commit e20c81b

Browse files
committed
Update go doc comments to refer to correct interfaces.
sql.Driver, sql.Conn, sql.Tx sql.Stmt, and sql.Rows are not interfaces. Updated the comments to refer to the correct interfaces: driver.Driver, driver.Conn, driver.Tx, driver.Stmt, and driver.Rows.
1 parent b3511bf commit e20c81b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

sqlite3.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -205,13 +205,13 @@ const (
205205
SQLITE_UPDATE = C.SQLITE_UPDATE
206206
)
207207

208-
// SQLiteDriver implement sql.Driver.
208+
// SQLiteDriver implements driver.Driver.
209209
type SQLiteDriver struct {
210210
Extensions []string
211211
ConnectHook func(*SQLiteConn) error
212212
}
213213

214-
// SQLiteConn implement sql.Conn.
214+
// SQLiteConn implements driver.Conn.
215215
type SQLiteConn struct {
216216
mu sync.Mutex
217217
db *C.sqlite3
@@ -221,12 +221,12 @@ type SQLiteConn struct {
221221
aggregators []*aggInfo
222222
}
223223

224-
// SQLiteTx implemen sql.Tx.
224+
// SQLiteTx implements driver.Tx.
225225
type SQLiteTx struct {
226226
c *SQLiteConn
227227
}
228228

229-
// SQLiteStmt implement sql.Stmt.
229+
// SQLiteStmt implements driver.Stmt.
230230
type SQLiteStmt struct {
231231
mu sync.Mutex
232232
c *SQLiteConn
@@ -236,13 +236,13 @@ type SQLiteStmt struct {
236236
cls bool
237237
}
238238

239-
// SQLiteResult implement sql.Result.
239+
// SQLiteResult implements sql.Result.
240240
type SQLiteResult struct {
241241
id int64
242242
changes int64
243243
}
244244

245-
// SQLiteRows implement sql.Rows.
245+
// SQLiteRows implements driver.Rows.
246246
type SQLiteRows struct {
247247
s *SQLiteStmt
248248
nc int

0 commit comments

Comments
 (0)