Joel Kek
|
f5cd2b14cc
|
UnmarshalJSON in null.Bool, null.Float, and null.String now return an error message when asked to unmarshal from an invalid type. This is in line with the behavior of the built-in sql library's null values.
|
2014-09-09 00:55:40 +08:00 |
|
Greg
|
406494f0f8
|
refactor to use package zero instead of null, and null instead of nuller
|
2014-09-02 03:22:17 +09:00 |
|
Gregory Roseberry
|
5cd2a757d8
|
SetValid() func and bring coverage back up to 100%
|
2014-09-01 14:25:57 +09:00 |
|
Gregory Roseberry
|
d3f0388e17
|
add Floats and Bools
|
2014-09-01 13:46:40 +09:00 |
|
Greg
|
37ad69e8b9
|
fix godoc
|
2014-08-31 17:58:34 +09:00 |
|
Greg
|
a0225e0dde
|
tweak godoc
|
2014-08-31 17:39:31 +09:00 |
|
Greg
|
4ac909cd7c
|
update docs/fix nuller pkg
|
2014-08-31 17:36:30 +09:00 |
|
Greg
|
b3e13aac8d
|
refactor into 2 packages
|
2014-08-31 17:28:34 +09:00 |
|
Greg
|
9ed047bf7b
|
nullable Int, String improvements
|
2014-08-30 23:53:25 +09:00 |
|
Gregory Roseberry
|
3f7515f3d4
|
fix NewString()
|
2014-08-29 11:31:09 +09:00 |
|
Gregory Roseberry
|
064b38ec63
|
update docs
|
2014-08-29 11:12:48 +09:00 |
|
Gregory Roseberry
|
8ba2f90d14
|
IsZero() now returns true if string is valid but blank
|
2014-08-29 11:09:04 +09:00 |
|
Gregory Roseberry
|
d46826878c
|
docs and tweaks
|
2014-08-29 10:29:17 +09:00 |
|
Greg
|
95bde34e57
|
add IsZero()
Go 1.4 will have JSON ,omitempty respect this, maybe.
|
2014-08-29 00:37:35 +09:00 |
|
Greg
|
043f53c9b4
|
initial commit
|
2014-08-29 00:11:18 +09:00 |
|