Add note for privatizing struct vars
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user