Jack Christensen
c16a4f7d6a
Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx"
...
This reverts commit 32e20a6031
.
2021-07-24 10:40:30 -05:00
Jack Christensen
32e20a6031
Temporarily delete tests and pgxtype to break recursive dependency with pgx
2021-07-24 10:16:00 -05:00
Jack Christensen
8117205a75
Range types Set method supports its own type, string, and nil
...
Previously Set would always return an error when called on a range type.
Now it will accept an instance of itself, a pointer to an instance of
itself, a string, or nil. Strings are parsed with the same logic as
DecodeText.
2020-03-03 15:25:57 -06:00
Jack Christensen
4ed0de4755
Splitting pgtype into own repo
2019-04-20 19:14:08 -05:00
Jack Christensen
8502a12ac7
Fix go modules
...
Wow. This is fun. Sure is easy to get modules wrong when upgrading a v2+
project.
2019-04-20 17:41:08 -05:00
Jack Christensen
d94f8daeb1
Use pointer methods for all struct pgtypes
...
Now no need to no whether certain interfaces are implemented by struct or
pointer to struct.
2017-04-14 13:08:05 -05:00
Jack Christensen
e380de7cd1
Finish extraction of pgtype test helpers
2017-04-14 12:38:33 -05:00
Jack Christensen
94971db9e2
Add daterange, tsrange, and tstzrange
2017-03-24 14:17:49 -05:00