Tomas Volf e92478ec70
Fix Inet.Set to handle nil net.IP correctly
When nil IP is returned from net.ParseIP, it is accepted into Inet type,
but not properly marked as being Null. That introduces issues later on
when calling for example EncodeBinary, since it does not assume this can
happen.

This commit resolves that by properly detecting zero-length net.IP and
setting status to Null if that is the case.
2020-10-13 15:26:09 +02:00
2020-01-24 14:58:59 -06:00
2020-06-09 18:31:49 -07:00
2020-09-05 10:56:22 -05:00
2020-02-19 10:48:09 -06:00
2020-09-05 10:56:22 -05:00
2020-02-19 10:48:09 -06:00
2020-09-05 10:56:22 -05:00
2020-09-05 10:56:22 -05:00
2020-02-19 11:58:49 -06:00
2020-09-26 11:48:37 -05:00
2020-02-19 10:48:09 -06:00
2020-09-05 10:56:22 -05:00
2020-02-19 10:48:09 -06:00
2020-02-19 10:48:09 -06:00
2020-09-05 10:56:22 -05:00
2020-03-09 10:40:40 -05:00
2020-09-05 10:56:22 -05:00
2020-09-05 10:56:22 -05:00
2020-09-05 10:56:22 -05:00
2020-06-06 09:55:14 -05:00
2020-09-05 10:56:22 -05:00
2020-06-06 10:26:34 -05:00
2020-09-05 10:56:22 -05:00
2020-09-05 10:56:22 -05:00
2020-09-05 10:56:22 -05:00
2020-09-05 10:56:22 -05:00
2020-09-05 10:56:22 -05:00
2020-03-30 11:30:37 -05:00
2020-03-30 11:30:37 -05:00
2020-02-19 10:48:09 -06:00
2020-02-19 10:48:09 -06:00
2020-09-05 10:56:22 -05:00
2020-02-19 10:48:09 -06:00
2020-09-05 10:56:22 -05:00
2020-06-11 21:35:32 -05:00
2020-02-19 10:48:09 -06:00
2020-02-19 10:48:09 -06:00
2020-09-22 08:18:39 -05:00
2020-10-08 07:59:44 -05:00
2020-02-19 11:58:49 -06:00
2019-09-26 21:08:20 -05:00
2020-05-11 17:21:21 -05:00
2020-09-05 10:56:22 -05:00
2020-05-20 15:01:21 +02:00
2020-05-20 15:01:21 +02:00
2019-12-19 21:35:35 -06:00
2020-02-19 11:58:49 -06:00
2020-09-05 10:56:22 -05:00
2020-09-05 10:56:22 -05:00
2020-09-05 10:56:22 -05:00
2020-09-05 10:56:22 -05:00
2020-02-19 10:48:09 -06:00
2020-09-05 10:56:22 -05:00
2020-09-22 08:18:39 -05:00
2020-09-22 08:18:39 -05:00
2020-02-19 10:48:09 -06:00
2020-09-05 10:56:22 -05:00
2020-02-19 10:48:09 -06:00

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
PostgreSQL driver and toolkit for Go
Readme MIT 7.6 MiB
Languages
Go 98.6%
HTML 1.2%
Shell 0.2%