e92478ec70e12ec4c64ca707d32dc41b164ee6b8
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.
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%