Commit graph

242 commits

Author SHA1 Message Date
Alex Grintsvayg
52a6201e18 split files 2017-09-15 07:58:54 -04:00
Alex Grintsvayg
035fb753c9 test multiple names in parallel 2017-09-14 15:13:59 -04:00
Alex Grintsvayg
c24db1580a simple file download checker 2017-09-12 18:17:03 -04:00
Alex Grintsvayg
3b2d6f82bc more rpc methods 2017-09-12 16:38:18 -04:00
Alex Grintsvayg
6e929495fc the beginning of a jsonrpc client 2017-09-12 12:04:45 -04:00
Alex Grintsvayg
7f3e4460fd more work 2017-08-17 11:46:51 -04:00
Alex Grintsvayg
c0290497de remove blacklist, peerwire, and custom bencode lib. successfully receive a request and send a response 2017-08-16 17:35:03 -04:00
Alex Grintsvayg
fa8a4a59bc parameterize node id length 2017-08-16 11:59:03 -04:00
Alex Grintsvayg
1ee831dbf2 delete extra stuff, formatting, removed crawl mode 2017-08-16 11:58:03 -04:00
Alex Grintsvayg
1f26aeeb5c add dht 2017-08-16 11:52:19 -04:00
Alex Grintsvayg
09745cbdea init 2017-08-16 11:50:50 -04:00
Alex Grintsvayg
109a79fb20 rename IsZero to IsNull, add it for null.Time 2017-07-06 15:06:31 -04:00
Jason Seriff
40264a2e6b Remove old github.com references, and update to gopkg.in ones 2016-11-16 13:09:00 +10:00
Aaron L
6ee828f88c Merge commit 'd5e394a' 2016-11-14 19:12:57 -08:00
jseriff
d5e394aaac Update import on bool.go
Switch import to use "gopkg.in/nullbio/null.v6/convert" instead of non-versioned github import, so that build does not require both versions.
2016-11-14 15:16:17 -06:00
Patrick O'brien
41a31fc048 Fix byte scan 2016-11-12 13:40:11 +10:00
Patrick O
b49443bac4 Update README.md 2016-11-12 11:57:45 +10:00
Patrick O
923466223c Update for v6 2016-11-12 11:52:19 +10:00
Patrick O'brien
5873ea302b Fix imports for v6 2016-11-12 11:45:55 +10:00
Patrick O
362c74b04f Update for v6 2016-11-12 11:40:19 +10:00
Patrick O'brien
50834ac6bc Add byte type 2016-11-11 17:15:01 +10:00
Patrick O'brien
133b805f06 Rm duplicates of []byte("null"), began byte type 2016-11-11 01:40:50 +10:00
Patrick O'brien
fed49d7096 Fix all unmarshaljson funcs and all types 2016-11-11 01:00:05 +10:00
Patrick O'brien
1104869407 Remove bad comment 2016-11-10 17:58:22 +10:00
Patrick O'brien
dc72f92a47 Removed zero
Fix bool, bytes, json
2016-11-10 17:47:49 +10:00
Patrick O'brien
b326f4655b Update readme to include v5 changes 2016-09-07 23:00:53 +10:00
Patrick O'brien
cdb95c128d Add zero files, fix some mistakes 2016-09-07 22:24:10 +10:00
Patrick O'brien
70e2c9d0e6 Fix import paths for v5 2016-09-07 21:33:21 +10:00
Patrick O'brien
0087127f1a Fix unmarshalers/marshalers, add json helpers 2016-09-07 21:17:27 +10:00
Patrick O'brien
f3d5b4769e Add NullJSON 2016-09-07 03:31:45 +10:00
Patrick O'brien
877f2a1492 Added null.NullBytes 2016-09-07 02:56:31 +10:00
Patrick O'brien
593ba42ffa Update license and readme 2016-09-04 19:18:51 +10:00
Patrick O'brien
67ba4e0272 Fix README, fix Valuer methods
* Fix import paths
2016-06-08 13:53:02 +10:00
Patrick O'brien
4f91fe41ce Add all additional types to zero package
* Add all additional float, int and uint types to zero package
* Moved convert to its own package

* Updated README to reflect changes
2016-05-18 17:00:15 +10:00
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
41961cea03 MarshalText for null.String
forgot to add this
2016-02-28 09:53:16 +09:00
Greg
aa8aa51503 fix godoc for IsZero
it had the old behavior from v2
2016-02-28 09:32:36 +09:00
Greg
79c5bd36b6 fix README
whoops
2015-10-24 19:10:46 +09:00
Greg
46376a4a3c Merge pull request #11 from justinas/master
Fix a typo in README
2015-10-21 07:28:36 +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
4ac4f00378 MarshalText, UnmarshalText for Time 2015-09-14 05:33:34 +09:00
Greg
e001fb0f0c Time docs, tweaks, tests 2015-09-14 05:07:53 +09:00
Greg
e6fc057718 Merge pull request #9 from resonance/master
Add null.Time and testing
2015-09-14 04:03:55 +09:00
Jed Borovik
50fbbe2bd8 Add zero.Time and tests 2015-09-12 20:30:39 -04:00
Jed Borovik
639d4dad0a Minor tweaks to null.Time UnmarshalJSON 2015-09-12 18:48:38 -04:00
Jed Borovik
e5f4f566ed Add unmarshalling null.Time from map[string]interface{} 2015-09-10 13:36:31 -04:00
Jed Borovik
5bebd577e0 Scanning nil for null.Time creates value with Valid = false rather than erroring 2015-09-10 12:49:41 -04:00
Jed Borovik
8112aae462 Make null.Time.Scan more robust by returning an error on the wrong type 2015-09-10 10:56:15 -04: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