Commit graph

23 commits

Author SHA1 Message Date
29bb602eb1
Export all write* functions as JSONWrite* 2022-08-20 21:27:03 -05:00
Marius Orcsik
23f9512103
Export everything in decoding_json 2022-08-20 17:43:45 +02:00
mariusor
52ce087a26
Adding some Format methods for custom printing of objects 2022-05-25 13:46:03 +02:00
Marius Orcsik
93a9596849
Using go1.18 and adding some interface types that can be used for generics 2022-03-19 20:14:56 +01:00
mariusor
af0f5aa0ee
Adding gob encode/decode for place, profile, question, relationship, tombstone types 2022-01-13 12:22:34 +01:00
mariusor
80679b32e9
More gob decode types 2022-01-12 18:19:06 +01:00
Marius Orcsik
30317634f5
Moved int gob write functions to the gob_encoding file 2022-01-02 16:24:24 +01:00
mariusor
f00af9750d
Be consistent in how we encode stringy types
Namely as []byte slices
2021-12-30 19:49:25 +01:00
mariusor
525748448c
Added gob Marshal/Unmarshal for Link type
Testing is still incomplete for this
2021-12-30 19:01:15 +01:00
mariusor
dc55be1bb1
Adding Links interface 2021-11-12 20:05:34 +01:00
Marius Orcsik
c1e48c1eef
More lint errors fixed 2021-11-12 20:05:08 +01:00
mariusor
a8126635d3 Fix some linting warnings 2021-11-12 19:10:31 +01:00
mariusor
5064eea988 Go fmt'ed files 2021-11-12 18:27:28 +01:00
Marius Orcsik
e26b856fcc
Use fastjson properly 2021-08-15 13:41:01 +02:00
Marius Orcsik
f09fdb0b8b
Disabled all GobEncoding/Decoding and BinaryMarshal/Unmarshal functionality 2021-04-02 13:52:04 +02:00
Marius Orcsik
ac3d908e7b
Adding placeholder Marshal/UnmarshalBinary and GobEncode/Decode 2021-03-14 19:39:49 +01:00
Marius Orcsik
a65a3e9048
Renamed internal functions used for JSON buffer write
This is done to ensure we're not overlapping with the future gob functionality
2021-03-14 18:31:13 +01:00
Marius Orcsik
57c015a8e9
Refactored types a bit 2020-06-30 13:35:04 +02:00
Marius Orcsik
db8e40c894
Added proper Link Json marshaling
Fix some corner cases for Link unmarshaling

Small cleanups
2019-12-22 14:08:56 +01:00
Marius Orcsik
59fd37615d
Refactoring loading of link type from json byte array 2019-12-21 15:25:22 +01:00
Marius Orcsik
67aa065f9f
Some other places where we removed Object from names of things 2019-12-05 19:16:48 +01:00
Marius Orcsik
b89c9ee68c
Renamed ObjectID to ID 2019-12-05 19:02:15 +01:00
Marius Orcsik
c3a38f35e7
Holy shit! Merged the activitystreams repo
Only 3 tests failing
2019-12-03 17:23:59 +01:00
Renamed from streams/link.go (Browse further)