Martin Ashby 3d9a54f092 Fix unit test, it should return after any error is returned from Decode
function whether expected or not, rather than continue and try to
compare invalid decoded results.

Extend the unit test slightly to check the header.

Remove go-test/deep dependency in favour of standard library reflect
package.
2021-11-06 16:39:43 -05:00
2019-03-30 12:33:04 -05:00
2021-11-06 16:39:43 -05:00
2017-04-29 10:02:38 -05:00
2019-08-31 11:53:26 -05:00
2019-06-08 19:38:34 -05:00
2020-07-31 16:13:23 -06:00
2019-06-08 19:38:34 -05:00
2019-12-17 20:21:57 -05:00
2019-03-30 12:32:39 -05:00
2019-06-08 19:38:34 -05:00
2019-09-07 11:37:43 -05:00
2019-08-31 11:53:26 -05:00
2019-08-31 11:53:26 -05:00

Build Status

pgproto3

Package pgproto3 is a encoder and decoder of the PostgreSQL wire protocol version 3.

pgproto3 can be used as a foundation for PostgreSQL drivers, proxies, mock servers, load balancers and more.

See example/pgfortune for a playful example of a fake PostgreSQL server.

Extracted from original implementation in https://github.com/jackc/pgx.

Description
PostgreSQL driver and toolkit for Go
Readme MIT 7.6 MiB
Languages
Go 98.6%
HTML 1.2%
Shell 0.2%