Skip to content

Commit dc47c3b

Browse files
committed
Remove unused struct fields
1 parent 1923767 commit dc47c3b

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

cursor.go

-2
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,11 @@ func newCursor(conn *Connection, cursorType string, token int64, term *Term, opt
4545
// err = cursor.Err() // get any error encountered during iteration
4646
// ...
4747
type Cursor struct {
48-
pc *poolConn
4948
releaseConn func(error)
5049

5150
conn *Connection
5251
token int64
5352
cursorType string
54-
query Query
5553
term *Term
5654
opts map[string]interface{}
5755

pool.go

-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ type Pool struct {
3737
opts *ConnectOpts
3838

3939
mu sync.Mutex // protects following fields
40-
err error // the last error that occurred
4140
freeConn []*poolConn
4241
connRequests []chan connRequest
4342
numOpen int

0 commit comments

Comments
 (0)