Commit graph

21 commits

Author SHA1 Message Date
Patrick O'brien
bbb7b84bb6 Add all int and float null types
* Add Scan and Value methods for non sql.Int64 and sql.Float64 types
* Change NullInt to use int in the code opposed to int64
* Rename Float to Float64
* Add support for all missing key int and float types:
  float32, int8, int16, int32, int64, uint8, uint16, uint32, uint64

* Update README to include new additions/changes
2016-05-17 22:02:36 +10:00
Greg
79c5bd36b6 fix README
whoops
2015-10-24 19:10:46 +09:00
Justinas Stankevicius
eb7618b4e1 Fix a typo 2015-10-21 01:13:05 +03:00
Greg
a9db3ac26f JSON "" shouldn't unmarshal to a null null.String.
That's what the zero package is for.
This was a "feature", but inconsistent with the rest of the null package.
2015-10-02 14:42:03 +09:00
Greg
e001fb0f0c Time docs, tweaks, tests 2015-09-14 05:07:53 +09:00
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
Gregory Roseberry
46b452db55 fix docs 2014-09-03 09:40:33 +09:00
Greg
a99cdf8f98 update docs wording 2014-09-02 03:33:18 +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
53ccf98d65 add gopkg.in import to README 2014-09-01 14:38:26 +09:00
Gregory Roseberry
d3f0388e17 add Floats and Bools 2014-09-01 13:46:40 +09:00
Greg
777d43e8e4 docs formatting 2014-08-31 17:38:25 +09:00
Greg
4ac909cd7c update docs/fix nuller pkg 2014-08-31 17:36:30 +09:00
Greg
bd2ece7042 change README formatting 2014-08-31 17:30:01 +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
Gregory Roseberry
37ab5072cf tweak README 2014-08-29 10:56:24 +09:00
Gregory Roseberry
705af58a4d fancy docs and 100% coverage 2014-08-29 10:50:02 +09:00
Gregory Roseberry
d46826878c docs and tweaks 2014-08-29 10:29:17 +09:00
Greg
043f53c9b4 initial commit 2014-08-29 00:11:18 +09:00