Greg
|
95e26ed907
|
prefer JSON errors when unmarshaling, better docs
Invalid JSON input will return a *json.SyntaxError instead of a cryptic error
from this package.
|
2015-09-10 20:05:24 +09:00 |
|
Gregory Roseberry
|
404a61efa2
|
improve godoc
|
2015-01-21 11:33:38 +09:00 |
|
Ryan LaHue
|
c0d98407b9
|
Avoid []byte=>float64=>int64 conversion, instead going directly from []byte=>int64, to avoid issues with intermediate float64 representation
|
2014-09-16 17:43:59 -07:00 |
|
Joel Kek
|
7cccb14361
|
UnmarshalJSON in Int now returns an error message when asked to unmarshal from an invalid type. This is in line with the behavior of the built-in sql.NullInt64.
|
2014-09-09 00:52:08 +08:00 |
|
Greg
|
df97727d47
|
fix godoc
|
2014-09-02 09:24:56 +09: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
|
b3e13aac8d
|
refactor into 2 packages
|
2014-08-31 17:28:34 +09:00 |
|
Greg
|
ab8dd4e057
|
update docs
|
2014-08-31 00:03:04 +09:00 |
|
Greg
|
9ed047bf7b
|
nullable Int, String improvements
|
2014-08-30 23:53:25 +09:00 |
|