From 248754aa61682f4825069806fcb37b41fd6b0293 Mon Sep 17 00:00:00 2001 From: Jack Christensen Date: Sat, 19 Jan 2019 15:41:42 -0600 Subject: [PATCH] Remove obsolete comment --- pgconn/pgconn.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pgconn/pgconn.go b/pgconn/pgconn.go index 476cd046..aa246614 100644 --- a/pgconn/pgconn.go +++ b/pgconn/pgconn.go @@ -1145,7 +1145,6 @@ type Batch struct { // ExecParams appends an ExecParams command to the batch. See PgConn.ExecParams for parameter descriptions. func (batch *Batch) ExecParams(sql string, paramValues [][]byte, paramOIDs []uint32, paramFormats []int16, resultFormats []int16) { - // TODO - refactor ExecParams and ExecPrepared - these lines only difference batch.buf = (&pgproto3.Parse{Query: sql, ParameterOIDs: paramOIDs}).Encode(batch.buf) batch.ExecPrepared("", paramValues, paramFormats, resultFormats) }