Skip to content

Commit 2c1a499

Browse files
committed
Fixed linting issues
1 parent b7b6948 commit 2c1a499

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

adapter/pgx/adapter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
2020
type ConnAdapter struct {
2121
conn *pgx.Conn
2222
}

adapter/sql/adapter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
2121
func NewSQLx(conn *sqlx.DB) *Adapter {
2222
return &Adapter{conn}
2323
}

options.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package pg
22

33
import "time"
44

5-
// Option is teh configuration options type for store
5+
// Option is the configuration options type for store
66
type Option func(s *Store)
77

88
// WithTableName returns option that sets store table name

pg.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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
1516
var ErrNoRows = errors.New("sql: no rows in result set")
1617

1718
// Adapter represents DB access layer interface for different PostgreSQL drivers

0 commit comments

Comments
 (0)