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
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
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