From 6f7400f4282d174f272c9548c21dd9dd75fc4bec Mon Sep 17 00:00:00 2001 From: Ivan Posazhennikov <56346856+vorokami@users.noreply.github.com> Date: Wed, 11 Oct 2023 19:53:29 +0300 Subject: [PATCH] fix typo in the comment in the pgconn.go --- pgconn/pgconn.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pgconn/pgconn.go b/pgconn/pgconn.go index 1147ee2e..4ed90def 100644 --- a/pgconn/pgconn.go +++ b/pgconn/pgconn.go @@ -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 {