fix typo in the comment in the pgconn.go

pull/1789/head
Ivan Posazhennikov 2023-10-11 19:53:29 +03:00 committed by Jack Christensen
parent 304697de36
commit 6f7400f428
1 changed files with 1 additions and 1 deletions

View File

@ -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 {