91a46ce219f5ebbea3ffb6070ac8c5bffa0ff954
Previously, Get implicitly allowed returning a reference to an internal value (e.g. a []byte) but AssignTo was documented as requiring a deep copy. This inconsistency meant that either Get was unsafe or the deep copy in AssignTo was superfluous. In addition, Scan into a []byte skips going through Bytea and returns a []byte of the unparsed bytes directly. i.e. a reference not a copy. Standardize on allowing Get and AssignTo to return internal references but require a Value never mutate internal values - only replace them.
pgtype
pgtype implements Go types for over 70 PostgreSQL types. pgtype is the type system underlying the
https://github.com/jackc/pgx PostgreSQL driver. These types support the binary format for enhanced performance with pgx.
They also support the database/sql Scan and Value interfaces and can be used with https://github.com/lib/pq.
Description
Languages
Go
98.5%
HTML
1.3%
Shell
0.2%