Skip to content

Commit

Permalink
fix typo in the comment in the pgconn.go
Browse files Browse the repository at this point in the history
  • Loading branch information
vorokami authored and jackc committed Oct 14, 2023
1 parent 304697d commit 6f7400f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pgconn/pgconn.go
Original file line number Diff line number Diff line change
Expand Up @@ -956,7 +956,7 @@ func (pgConn *PgConn) CancelRequest(ctx context.Context) error {
return nil
}

// WaitForNotification waits for a LISTON/NOTIFY message to be received. It returns an error if a notification was not
// WaitForNotification waits for a LISTEN/NOTIFY message to be received. It returns an error if a notification was not
// received.
func (pgConn *PgConn) WaitForNotification(ctx context.Context) error {
if err := pgConn.lock(); err != nil {
Expand Down

0 comments on commit 6f7400f

Please sign in to comment.