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
ef5f8b54af
Update dependencies
2020-03-30 11:30:37 -05: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
fcbd9e93fa
Initial pass at fixing pgtype tests
...
Many still failing, but at least it compiles now.
2019-04-12 16:58:42 -05:00
Jack Christensen
8f7c03a47f
Fix: do not silently ignore assign NULL to *string
...
AssignTo can only assign NULL to a **string. Previous code tried to
assign nil to a *string, which did nothing. Correct behavior is to
detect this as an error.
2018-09-01 18:40:42 -05:00
Jack Christensen
aab8b77215
Use Go casing convention for JSON(B)
2017-06-03 11:57:14 -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
0e51991aaa
Skip jsonb test if no jsonb type
2017-03-20 08:58:28 -05:00
Jack Christensen
9b9361848d
Expand pgtype.Value interface
...
- Include and rename ConvertFrom to Set
- Add Get
- Include AssignTo
2017-03-11 19:53:45 -06:00
Jack Christensen
7985ca5f87
Add json/jsonb to pgtype
2017-03-11 18:46:51 -06:00