From 99c54fbec0aa0295b296bc759c2631e261651985 Mon Sep 17 00:00:00 2001 From: Jack Christensen Date: Sat, 17 Aug 2019 13:46:22 -0500 Subject: [PATCH] Tweak Conn comment --- conn.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/conn.go b/conn.go index b1018206..ed72ff01 100644 --- a/conn.go +++ b/conn.go @@ -35,9 +35,8 @@ type ConnConfig struct { PreferSimpleProtocol bool } -// Conn is a PostgreSQL connection handle. It is not safe for concurrent usage. -// Use ConnPool to manage access to multiple database connections from multiple -// goroutines. +// Conn is a PostgreSQL connection handle. It is not safe for concurrent usage. Use a connection pool to manage access +// to multiple database connections from multiple goroutines. type Conn struct { pgConn *pgconn.PgConn config *ConnConfig // config used when establishing this connection