2
0

fix typo in the comment in the pgconn.go

This commit is contained in:
Ivan Posazhennikov
2023-10-11 19:53:29 +03:00
committed by Jack Christensen
parent 304697de36
commit 6f7400f428
+1 -1
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 {