From 356fcd4b0e121a287a76875112bba5c5096b53d0 Mon Sep 17 00:00:00 2001 From: Jack Christensen Date: Sat, 7 Jan 2017 12:58:37 -0600 Subject: [PATCH] Add note for privatizing struct vars --- v3.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/v3.md b/v3.md index d89c4875..58887aed 100644 --- a/v3.md +++ b/v3.md @@ -34,3 +34,5 @@ Copy protocol support (this potentially ties in with text/binary protocol) ValueReader / msgReader cleanup Make easier / possible to mock Conn or ConnPool (https://github.com/jackc/pgx/pull/162) + +Every field that should not be set by user should be replaced by accessor method (e.g. Conn.PID, Conn.SecretKey)