Skip to content

Commit

Permalink
Merge pull request #621 from AndrewMurrell/master
Browse files Browse the repository at this point in the history
Update go doc comments to refer to correct interfaces.
  • Loading branch information
mattn committed Aug 24, 2018
2 parents b3511bf + e20c81b commit 3198c77
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions sqlite3.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 3198c77

Please sign in to comment.