File tree Expand file tree Collapse file tree 4 files changed +4
-3
lines changed Expand file tree Collapse file tree 4 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ func NewConnPoolAdapter(conn *pgx.ConnPool) *ConnPoolAdapter {
1616 return & ConnPoolAdapter {conn }
1717}
1818
19- // ConnPoolAdapter is the adapter type for PGx connection connection type
19+ // ConnAdapter is the adapter type for PGx connection connection type
2020type ConnAdapter struct {
2121 conn * pgx.Conn
2222}
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ func NewSQL(conn *sql.DB) *Adapter {
1717 return & Adapter {sqlx .NewDb (conn , "" )}
1818}
1919
20- // NewSQL instantiates sqlx.DB connection adapter
20+ // NewSQLx instantiates sqlx.DB connection adapter
2121func NewSQLx (conn * sqlx.DB ) * Adapter {
2222 return & Adapter {conn }
2323}
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ package pg
22
33import "time"
44
5- // Option is teh configuration options type for store
5+ // Option is the configuration options type for store
66type Option func (s * Store )
77
88// WithTableName returns option that sets store table name
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ import (
1212 "gopkg.in/oauth2.v3/models"
1313)
1414
15+ // ErrNoRows is the driver-agnostic error returned when no record is found
1516var ErrNoRows = errors .New ("sql: no rows in result set" )
1617
1718// Adapter represents DB access layer interface for different PostgreSQL drivers
You can’t perform that action at this time.
0 commit comments